diff options
author | Ramneek Mehresh <ramneek.mehresh@freescale.com> | 2014-01-03 10:41:55 +0400 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-01-22 01:35:43 +0400 |
commit | 3f283f4bdc6364de6fe3e2da2e365865da7710c8 (patch) | |
tree | c1b2abb8e03db026d28d19498034d57b23eed475 /arch | |
parent | 2eb3ac7fe8ee29b2edfd7e0309115c2fc6875f95 (diff) | |
download | u-boot-3f283f4bdc6364de6fe3e2da2e365865da7710c8.tar.xz |
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')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/start.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S index b4fafe65ef..7f74a50bac 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 |