powerpc: mpc512x: Add support for get_svr() for mpc512x devices
authorSriram Dash <sriram.dash@nxp.com>
Fri, 14 Oct 2016 06:33:50 +0000 (12:03 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 21 Nov 2016 17:20:32 +0000 (09:20 -0800)
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>
arch/powerpc/cpu/mpc512x/start.S

index 471d401d49b2a211618980da88197906c2820af9..dd3066ec4c3bdbb62c99388ac031dd5ce945b38a 100644 (file)
@@ -443,6 +443,11 @@ get_pvr:
        mfspr   r3, PVR
        blr
 
+       .globl get_svr
+get_svr:
+       mfspr   r3, SVR
+       blr
+
 /*-------------------------------------------------------------------*/
 
 /*