ls2085a: Correct the model & board name of RDB and QDS
PATCH 1/1 ls2085a: Correct the model & board name of RDB and QDS
* LS2085ARDB and LS2085AQDS host LS2080A and LS2085A, So update model and board name.
--- 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(-)
arch/arm/dts/fsl-ls2080a-qds.dts +1 -1
@@ -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 {
arch/arm/dts/fsl-ls2080a-rdb.dts +1 -1
@@ -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 {
board/freescale/ls2080aqds/ls2080aqds.c +1 -2
@@ -61,8 +61,7 @@ int checkboard(void) "100 separate SSCG"};int clock; -cpu_name (buf); -printf ("Board: %s-QDS, " , buf); +printf ("Board: LS2085A-QDS, " ); sw =QIXIS_READ (arch);printf ("Board Arch: V%d, " , sw >>4 );
board/freescale/ls2080ardb/ls2080ardb.c +1 -3
@@ -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, " ); sw =QIXIS_READ (arch);printf ("Board Arch: V%d, " , sw >>4 );
Signature · 1 line
1.7.6.GIT
PATCH 1/1 ls2085a: Correct the model & board name of RDB and QDS
Hi Ashish,
Quoted 51 lines
-----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 <[email protected]>--- 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(-)arch/arm/dts/fsl-ls2080a-qds.dts +1
-1@@ -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 {arch/arm/dts/fsl-ls2080a-rdb.dts +1
-1@@ -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 {board/freescale/ls2080aqds/ls2080aqds.c +0
-0
board/freescale/ls2080aqds/ls2080aqds.c int checkboard(void) · line 64
Quoted 6 lines
board/freescale/ls2080aqds/ls2080aqds.c +1
-2@@ -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?
Quoted 9 lines
board/freescale/ls2080aqds/ls2080aqds.c +0
-0sw =QIXIS_READ (arch);printf ("Board Arch: V%d, " , sw >>4 );board/freescale/ls2080ardb/ls2080ardb.c +0
-0
board/freescale/ls2080ardb/ls2080ardb.c unsigned long long get_qixis_addr(void) int · line 57
Quoted 7 lines
board/freescale/ls2080ardb/ls2080ardb.c +1
-3@@ -54,10 +54,8 @@ unsigned long long get_qixis_addr(void) intcheckboard (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?
Quoted 10 lines
board/freescale/ls2080ardb/ls2080ardb.c +0
-1sw =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
PATCH 1/1 ls2085a: Correct the model & board name of RDB and QDS
In reply to Ashish KumarQuoted 58 lines · Ashish Kumar
* LS2085ARDB and LS2085AQDS host LS2080A and LS2085A, So update model and board name.
Signed-off-by Ashish Kumar <[email protected]>--- 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(-)arch/arm/dts/fsl-ls2080a-qds.dts +1
-1@@ -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 {arch/arm/dts/fsl-ls2080a-rdb.dts +1
-1@@ -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 {board/freescale/ls2080aqds/ls2080aqds.c +1
-2@@ -61,8 +61,7 @@ int checkboard(void) "100 separate SSCG"};int clock; -cpu_name (buf); -printf ("Board: %s-QDS, " , buf); +printf ("Board: LS2085A-QDS, " ); sw =QIXIS_READ (arch);printf ("Board Arch: V%d, " , sw >>4 );board/freescale/ls2080ardb/ls2080ardb.c +0
-0@@ -54,10 +54,8 @@ unsigned long long get_qixis_addr(void)int checkboard (void )
board/freescale/ls2080ardb/ls2080ardb.c unsigned long long get_qixis_addr(void) · line 61
Quoted 10 lines
board/freescale/ls2080ardb/ls2080ardb.c +1
-3{u8 sw; -char buf[15 ]; -cpu_name (buf); -printf ("Board: %s-RDB, " , buf); +printf ("Board: LS2085A-RDB, " ); sw =QIXIS_READ (arch);printf ("Board Arch: V%d, " , sw >>4 );
I don't like these changes. When this product was defined, it was named LS2085A. So consequently the boards were name as LS2085AQDS and LS2085ARDB. Later the primary product was renamed to LS2080A. LS2085A became a personality. So the names in U-Boot were changed.
Without these proposed changes, the only mismatch is between the U-Boot target and the label on the board. I don't see changing back the board names makes anything clear. Actually it makes more confusion when U-Boot reports SoC as LS2080A, but the board name as LS2085AQDS (or RDB).
In my opinion, a sticker on the board covering LS2085A is a better solution.
York
PATCH 1/1 ls2085a: Correct the model & board name of RDB and QDS
I agree with York. Keep the name as is-- ls2080a. We already went
through the name change from ls2085a to ls2080a last year in Linux and
in u-boot and there is no reason to go back. The fact that the RDB
boards have the wrong name printed on them is not enough reason to
revert what we already did. The product is "ls2080a".
Thanks,
Stuart
Quoted 89 lines · york sun
Quoted 58 lines · Ashish Kumar
* LS2085ARDB and LS2085AQDS host LS2080A and LS2085A, So update model and board name.
Signed-off-by Ashish Kumar <[email protected]>--- 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(-)arch/arm/dts/fsl-ls2080a-qds.dts +1
-1@@ -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 {arch/arm/dts/fsl-ls2080a-rdb.dts +1
-1@@ -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 {board/freescale/ls2080aqds/ls2080aqds.c +1
-2@@ -61,8 +61,7 @@ int checkboard(void) "100 separate SSCG"};int clock; -cpu_name (buf); -printf ("Board: %s-QDS, " , buf); +printf ("Board: LS2085A-QDS, " ); sw =QIXIS_READ (arch);printf ("Board Arch: V%d, " , sw >>4 );board/freescale/ls2080ardb/ls2080ardb.c +0
-0@@ -54,10 +54,8 @@ unsigned long long get_qixis_addr(void)int checkboard (void )board/freescale/ls2080ardb/ls2080ardb.c unsigned long long get_qixis_addr(void) · line 61
Quoted 10 lines
board/freescale/ls2080ardb/ls2080ardb.c +1
-3{u8 sw; -char buf[15 ]; -cpu_name (buf); -printf ("Board: %s-RDB, " , buf); +printf ("Board: LS2085A-RDB, " ); sw =QIXIS_READ (arch);printf ("Board Arch: V%d, " , sw >>4 );I don't like these changes. When this product was defined, it was named LS2085A. So consequently the boards were name as LS2085AQDS and LS2085ARDB. Later the primary product was renamed to LS2080A. LS2085A became a personality. So the names in U-Boot were changed.
Without these proposed changes, the only mismatch is between the U-Boot target and the label on the board. I don't see changing back the board names makes anything clear. Actually it makes more confusion when U-Boot reports SoC as LS2080A, but the board name as LS2085AQDS (or RDB).
In my opinion, a sticker on the board covering LS2085A is a better solution.
York
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot