[U-Boot] [PATCH v2] powerpc: mpc512x: Add support for get_svr() for mpc512x devices

york sun york.sun at nxp.com
Tue Oct 25 19:14:43 CEST 2016


On 10/13/2016 11:36 PM, Sriram Dash wrote:
> Defines get_svr() for mpc512x devices
>
> Signed-off-by: Sriram Dash <sriram.dash at nxp.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
> Changes in v2:
>   - cosmetic changes
>
>  arch/powerpc/cpu/mpc512x/start.S | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/powerpc/cpu/mpc512x/start.S b/arch/powerpc/cpu/mpc512x/start.S
> index 471d401..dd3066e 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
> +
>  /*-------------------------------------------------------------------*/
>
>  /*
>

Reviewed-by: York Sun <york.sun at nxp.com>


More information about the U-Boot mailing list