summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorRamneek Mehresh <ramneek.mehresh@freescale.com>2014-01-03 12:11:55 +0530
committerYork Sun <yorksun@freescale.com>2014-01-21 13:35:43 -0800
commit3f283f4bdc6364de6fe3e2da2e365865da7710c8 (patch)
treec1b2abb8e03db026d28d19498034d57b23eed475 /arch/powerpc
parent2eb3ac7fe8ee29b2edfd7e0309115c2fc6875f95 (diff)
downloadu-boot-imx-3f283f4bdc6364de6fe3e2da2e365865da7710c8.zip
u-boot-imx-3f283f4bdc6364de6fe3e2da2e365865da7710c8.tar.gz
u-boot-imx-3f283f4bdc6364de6fe3e2da2e365865da7710c8.tar.bz2
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/cpu/mpc83xx/start.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S
index b4fafe6..7f74a50 100644
--- a/arch/powerpc/cpu/mpc83xx/start.S
+++ b/arch/powerpc/cpu/mpc83xx/start.S
@@ -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