diff options
author | Sriram Dash <sriram.dash@nxp.com> | 2016-10-14 12:03:50 +0530 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-11-21 09:20:32 -0800 |
commit | 4359a3b9e44be89bac2bc62ed6d48e6a64164cdf (patch) | |
tree | c054061cfad65c1e93352a4610f071d238693475 /arch | |
parent | b7401d0917257ee7c023feb40cd62627da025491 (diff) | |
download | u-boot-imx-4359a3b9e44be89bac2bc62ed6d48e6a64164cdf.zip u-boot-imx-4359a3b9e44be89bac2bc62ed6d48e6a64164cdf.tar.gz u-boot-imx-4359a3b9e44be89bac2bc62ed6d48e6a64164cdf.tar.bz2 |
powerpc: mpc512x: Add support for get_svr() for mpc512x devices
Defines get_svr() for mpc512x devices
Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/cpu/mpc512x/start.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc512x/start.S b/arch/powerpc/cpu/mpc512x/start.S index 471d401..dd3066e 100644 --- a/arch/powerpc/cpu/mpc512x/start.S +++ b/arch/powerpc/cpu/mpc512x/start.S @@ -443,6 +443,11 @@ get_pvr: mfspr r3, PVR blr + .globl get_svr +get_svr: + mfspr r3, SVR + blr + /*-------------------------------------------------------------------*/ /* |