[U-Boot] [PATCH] powerpc/83xx: fix compilation error for MPC8315ERDB

York Sun yorksun at freescale.com
Thu Jan 2 22:44:49 CET 2014


On 12/19/2013 07:54 PM, Nikhil Badola wrote:
> From: Ramneek Mehresh <ramneek.mehresh at freescale.com>
> 
> Defines get_svr() for 83xx devices
> 
> Signed-off-by: Ramneek Mehresh <ramneek.mehresh at freescale.com>
> ---
>  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



More information about the U-Boot mailing list