From: Ramneek Mehresh Date: Fri, 3 Jan 2014 06:41:55 +0000 (+0530) Subject: powerpc/83xx: Add support for get_svr() for 83xx devices X-Git-Tag: v2014.04-rc1~165 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f283f4bdc6364de6fe3e2da2e365865da7710c8;p=u-boot powerpc/83xx: Add support for get_svr() for 83xx devices Defines get_svr() for 83xx devices Signed-off-by: Ramneek Mehresh Reviewed-by: York Sun --- 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