From: Sriram Dash Date: Fri, 14 Oct 2016 06:33:50 +0000 (+0530) Subject: powerpc: mpc512x: Add support for get_svr() for mpc512x devices X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=4359a3b9e44be89bac2bc62ed6d48e6a64164cdf;p=u-boot.git powerpc: mpc512x: Add support for get_svr() for mpc512x devices Defines get_svr() for mpc512x devices Signed-off-by: Sriram Dash Reviewed-by: Bin Meng Reviewed-by: York Sun --- diff --git a/arch/powerpc/cpu/mpc512x/start.S b/arch/powerpc/cpu/mpc512x/start.S index 471d401d49..dd3066ec4c 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 + /*-------------------------------------------------------------------*/ /*