From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Thu, 2 Jan 2014 13:44:49 -0800 Subject: [U-Boot] [PATCH] powerpc/83xx: fix compilation error for MPC8315ERDB In-Reply-To: <1387511680-13918-1-git-send-email-B46172@freescale.com> References: <1387511680-13918-1-git-send-email-B46172@freescale.com> Message-ID: <52C5DDD1.3020707@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/19/2013 07:54 PM, Nikhil Badola wrote: > From: Ramneek Mehresh > > Defines get_svr() for 83xx devices > > Signed-off-by: Ramneek Mehresh > --- > arch/powerpc/cpu/mpc83xx/start.S | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S > index b4fafe6..7f74a50 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 > Please share how to reproduce the compilation error. I don't see it. York