powerpc/83xx: Add support for get_svr() for 83xx devices

Defines get_svr() for 83xx devices

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
Ramneek Mehresh 2014-01-03 12:11:55 +05:30 committed by York Sun
parent 2eb3ac7fe8
commit 3f283f4bdc

View file

@ -120,6 +120,11 @@ disable_addr_trans:
mtspr SRR1, r3
rfi
.globl get_svr
get_svr:
mfspr r3, SVR
blr
.globl get_pvr
get_pvr:
mfspr r3, PVR