]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/83xx: Add support for get_svr() for 83xx devices
authorRamneek Mehresh <ramneek.mehresh@freescale.com>
Fri, 3 Jan 2014 06:41:55 +0000 (12:11 +0530)
committerYork Sun <yorksun@freescale.com>
Tue, 21 Jan 2014 21:35:43 +0000 (13:35 -0800)
Defines get_svr() for 83xx devices

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc83xx/start.S

index b4fafe65ef99276abbe9526db903bb3fdb4001b2..7f74a50bac225169741a7e34c13d8576d657b21e 100644 (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