[U-Boot] [PATCH] ls2085a: Correct the model & board name of RDB and QDS

Calvin Johnson calvin.johnson at nxp.com
Fri Jan 22 05:41:46 CET 2016


Hi Ashish,

> -----Original Message-----
> From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Ashish,
> Kumar
> Sent: Wednesday, January 20, 2016 12:33 PM
> To: prabhakar.khuswaha at nxp.com; u-boot at lists.denx.de
> Subject: [U-Boot] [PATCH] ls2085a: Correct the model & board name of RDB
> and QDS
> 
>  * LS2085ARDB and LS2085AQDS host LS2080A and LS2085A,
>     So update model and board name.
> 
> Signed-off-by: Ashish Kumar <Ashish.Kumar at nxp.com>
> ---
>  arch/arm/dts/fsl-ls2080a-qds.dts        |    2 +-
>  arch/arm/dts/fsl-ls2080a-rdb.dts        |    2 +-
>  board/freescale/ls2080aqds/ls2080aqds.c |    3 +--
>  board/freescale/ls2080ardb/ls2080ardb.c |    4 +---
>  4 files changed, 4 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/arm/dts/fsl-ls2080a-qds.dts b/arch/arm/dts/fsl-ls2080a-qds.dts
> index 547ec27..7b1dae8 100644
> --- a/arch/arm/dts/fsl-ls2080a-qds.dts
> +++ b/arch/arm/dts/fsl-ls2080a-qds.dts
> @@ -11,7 +11,7 @@
>  #include "fsl-ls2080a.dtsi"
> 
>  / {
> -	model = "Freescale Layerscape 2080a QDS Board";
> +	model = "Freescale Layerscape 2085a QDS Board";
>  	compatible = "fsl,ls2080a-qds", "fsl,ls2080a";
> 
>  	aliases {
> diff --git a/arch/arm/dts/fsl-ls2080a-rdb.dts b/arch/arm/dts/fsl-ls2080a-rdb.dts
> index 1a1813b..71d1969 100644
> --- a/arch/arm/dts/fsl-ls2080a-rdb.dts
> +++ b/arch/arm/dts/fsl-ls2080a-rdb.dts
> @@ -11,7 +11,7 @@
>  #include "fsl-ls2080a.dtsi"
> 
>  / {
> -	model = "Freescale Layerscape 2080a RDB Board";
> +	model = "Freescale Layerscape 2085a RDB Board";
>  	compatible = "fsl,ls2080a-rdb", "fsl,ls2080a";
> 
>  	aliases {
> diff --git a/board/freescale/ls2080aqds/ls2080aqds.c
> b/board/freescale/ls2080aqds/ls2080aqds.c
> index aa256a2..fe20f3a 100644
> --- a/board/freescale/ls2080aqds/ls2080aqds.c
> +++ b/board/freescale/ls2080aqds/ls2080aqds.c
> @@ -61,8 +61,7 @@ int checkboard(void)
>  					    "100 separate SSCG"};
>  	int clock;
> 
> -	cpu_name(buf);
> -	printf("Board: %s-QDS, ", buf);
> +	printf("Board: LS2085A-QDS, ");

Isn't it good to change the file name to ls2085aqds.c?

> 
>  	sw = QIXIS_READ(arch);
>  	printf("Board Arch: V%d, ", sw >> 4);
> diff --git a/board/freescale/ls2080ardb/ls2080ardb.c
> b/board/freescale/ls2080ardb/ls2080ardb.c
> index c63b639..ccf98c9 100644
> --- a/board/freescale/ls2080ardb/ls2080ardb.c
> +++ b/board/freescale/ls2080ardb/ls2080ardb.c
> @@ -54,10 +54,8 @@ unsigned long long get_qixis_addr(void)  int
> checkboard(void)  {
>  	u8 sw;
> -	char buf[15];
> 
> -	cpu_name(buf);
> -	printf("Board: %s-RDB, ", buf);
> +	printf("Board: LS2085A-RDB, ");

And here file name change to ls1085rdb.c?

> 
>  	sw = QIXIS_READ(arch);
>  	printf("Board Arch: V%d, ", sw >> 4);
> --
> 1.7.6.GIT
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

Regards
Calvin


More information about the U-Boot mailing list