Skip to contentSkip to conversation

at91: reorder BOARDINFO alphabetically

PATCH Applied Fabio Porcedda 3 participants 7 messages Dec 6, 2012 – Dec 8, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 at91: reorder BOARDINFO alphabetically

This is to have a nicely ordered list and to decrease the likelihood of a conflict when adding a new board.

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

---
v2:
- add Cc: Jean-Christophe
- add comment to remember the ordering

 arch/arm/mach-at91/Kconfig | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
arch/arm/mach-at91/Kconfig +6 -5
index 6fea903..a192f7c 100644
@@ -6,7 +6,9 @@ config ARCH_TEXT_BASE
 	default 0x26f00000 if ARCH_AT91SAM9X5
 	default 0x23f00000
 
+# This list is sorted alphanumerically
 config BOARDINFO
+	default "Aizo dSS11" if MACH_DSS11
 	default "Atmel at91rm9200-ek" if MACH_AT91RM9200EK
 	default "Atmel at91sam9260-ek" if MACH_AT91SAM9260EK
 	default "Atmel at91sam9261-ek" if MACH_AT91SAM9261EK
@@ -17,17 +19,16 @@ config BOARDINFO
 	default "Atmel at91sam9n12-ek" if MACH_AT91SAM9N12EK
 	default "Atmel at91sam9x5-ek" if MACH_AT91SAM9X5EK
 	default "Bucyrus MMC-CPU" if MACH_MMCCPU
+	default "Calao QIL-A9260" if MACH_QIL_A9260
+	default "Calao TNY-A9260" if MACH_TNY_A9260
+	default "Calao TNY-A9263" if MACH_TNY_A9263
+	default "Calao TNY-A9G20" if MACH_TNY_A9G20
 	default "Calao USB-A9260" if MACH_USB_A9260
 	default "Calao USB-A9263" if MACH_USB_A9263
 	default "Calao USB-A9G20" if MACH_USB_A9G20
 	default "Ronetix PM9261" if MACH_PM9261
 	default "Ronetix PM9263" if MACH_PM9263
 	default "Ronetix PM9G45" if MACH_PM9G45
-	default "Aizo dSS11" if MACH_DSS11
-	default "Calao TNY-A9260" if MACH_TNY_A9260
-	default "Calao TNY-A9263" if MACH_TNY_A9263
-	default "Calao TNY-A9G20" if MACH_TNY_A9G20
-	default "Calao QIL-A9260" if MACH_QIL_A9260
 
 config HAVE_NAND_ATMEL_BUSWIDTH_16
 	bool
Signature · 7 lines
1.8.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 5 lines · Fabio Porcedda

This is to have a nicely ordered list and to decrease the likelihood of a conflict when adding a new board.

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

Applied, thanks

Sascha

Quoted 53 lines

---
v2:
- add Cc: Jean-Christophe
- add comment to remember the ordering

 arch/arm/mach-at91/Kconfig | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
arch/arm/mach-at91/Kconfig +6 -5
index 6fea903..a192f7c 100644
@@ -6,7 +6,9 @@ config ARCH_TEXT_BASE
 	default 0x26f00000 if ARCH_AT91SAM9X5
 	default 0x23f00000
 
+# This list is sorted alphanumerically
 config BOARDINFO
+	default "Aizo dSS11" if MACH_DSS11
 	default "Atmel at91rm9200-ek" if MACH_AT91RM9200EK
 	default "Atmel at91sam9260-ek" if MACH_AT91SAM9260EK
 	default "Atmel at91sam9261-ek" if MACH_AT91SAM9261EK
@@ -17,17 +19,16 @@ config BOARDINFO
 	default "Atmel at91sam9n12-ek" if MACH_AT91SAM9N12EK
 	default "Atmel at91sam9x5-ek" if MACH_AT91SAM9X5EK
 	default "Bucyrus MMC-CPU" if MACH_MMCCPU
+	default "Calao QIL-A9260" if MACH_QIL_A9260
+	default "Calao TNY-A9260" if MACH_TNY_A9260
+	default "Calao TNY-A9263" if MACH_TNY_A9263
+	default "Calao TNY-A9G20" if MACH_TNY_A9G20
 	default "Calao USB-A9260" if MACH_USB_A9260
 	default "Calao USB-A9263" if MACH_USB_A9263
 	default "Calao USB-A9G20" if MACH_USB_A9G20
 	default "Ronetix PM9261" if MACH_PM9261
 	default "Ronetix PM9263" if MACH_PM9263
 	default "Ronetix PM9G45" if MACH_PM9G45
-	default "Aizo dSS11" if MACH_DSS11
-	default "Calao TNY-A9260" if MACH_TNY_A9260
-	default "Calao TNY-A9263" if MACH_TNY_A9263
-	default "Calao TNY-A9G20" if MACH_TNY_A9G20
-	default "Calao QIL-A9260" if MACH_QIL_A9260
 
 config HAVE_NAND_ATMEL_BUSWIDTH_16
 	bool
Signature · 7 lines
1.8.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to Fabio Porcedda
Quoted 7 lines · Fabio Porcedda

This is to have a nicely ordered list and to decrease the likelihood of a conflict when adding a new board.

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

---
v2:

NAK

I order them by Kconfig keepo it that way

Best Regrds,
J.

Quoted 45 lines

- add Cc: Jean-Christophe
- add comment to remember the ordering

 arch/arm/mach-at91/Kconfig | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
arch/arm/mach-at91/Kconfig +6 -5
index 6fea903..a192f7c 100644
@@ -6,7 +6,9 @@ config ARCH_TEXT_BASE
 	default 0x26f00000 if ARCH_AT91SAM9X5
 	default 0x23f00000
 
+# This list is sorted alphanumerically
 config BOARDINFO
+	default "Aizo dSS11" if MACH_DSS11
 	default "Atmel at91rm9200-ek" if MACH_AT91RM9200EK
 	default "Atmel at91sam9260-ek" if MACH_AT91SAM9260EK
 	default "Atmel at91sam9261-ek" if MACH_AT91SAM9261EK
@@ -17,17 +19,16 @@ config BOARDINFO
 	default "Atmel at91sam9n12-ek" if MACH_AT91SAM9N12EK
 	default "Atmel at91sam9x5-ek" if MACH_AT91SAM9X5EK
 	default "Bucyrus MMC-CPU" if MACH_MMCCPU
+	default "Calao QIL-A9260" if MACH_QIL_A9260
+	default "Calao TNY-A9260" if MACH_TNY_A9260
+	default "Calao TNY-A9263" if MACH_TNY_A9263
+	default "Calao TNY-A9G20" if MACH_TNY_A9G20
 	default "Calao USB-A9260" if MACH_USB_A9260
 	default "Calao USB-A9263" if MACH_USB_A9263
 	default "Calao USB-A9G20" if MACH_USB_A9G20
 	default "Ronetix PM9261" if MACH_PM9261
 	default "Ronetix PM9263" if MACH_PM9263
 	default "Ronetix PM9G45" if MACH_PM9G45
-	default "Aizo dSS11" if MACH_DSS11
-	default "Calao TNY-A9260" if MACH_TNY_A9260
-	default "Calao TNY-A9263" if MACH_TNY_A9263
-	default "Calao TNY-A9G20" if MACH_TNY_A9G20
-	default "Calao QIL-A9260" if MACH_QIL_A9260
 
 config HAVE_NAND_ATMEL_BUSWIDTH_16
 	bool
Signature · 1 line
1.8.0

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
Quoted 11 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 7 lines · Fabio Porcedda

This is to have a nicely ordered list and to decrease the likelihood of a conflict when adding a new board.

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

---
v2:

NAK

I order them by Kconfig keepo it that way

I'd say it makes more sense to keep them in the order the user actually sees them, it makes it easier to find the entries. What's the value in ordering them by Kconfig name?
If you order them by Kconfig name, the Calao boards end up in three different places in the user visible view.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#4 lore raw
Quoted 11 lines · Sascha Hauer
Quoted 10 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 7 lines · Fabio Porcedda

This is to have a nicely ordered list and to decrease the likelihood of a conflict when adding a new board.

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

---
v2:

NAK

Quoted 7 lines
Quoted 1 line

I order them by Kconfig keepo it that way

I'd say it makes more sense to keep them in the order the user actually sees them, it makes it easier to find the entries. What's the value in ordering them by Kconfig name?
If you order them by Kconfig name, the Calao boards end up in three different places in the user visible view.

IMHO it's easier and nicer to order by text, in fact the entries were not even completely ordered by Kconfig.

--
Fabio Porcedda

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#5 lore raw
In reply to Sascha Hauer
Quoted 11 lines · Sascha Hauer
Quoted 10 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 7 lines · Fabio Porcedda

This is to have a nicely ordered list and to decrease the likelihood of a conflict when adding a new board.

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

---
v2:

NAK

Quoted 7 lines
Quoted 1 line

I order them by Kconfig keepo it that way

I'd say it makes more sense to keep them in the order the user actually sees them, it makes it easier to find the entries. What's the value in ordering them by Kconfig name?
If you order them by Kconfig name, the Calao boards end up in three different places in the user visible view.

I do it the same we do on the kernel
and I do want to keep that way the board are order by Kconfig

not by name

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#6 lore raw
Quoted 14 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 13 lines · Sascha Hauer
Quoted 11 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 7 lines · Fabio Porcedda

This is to have a nicely ordered list and to decrease the likelihood of a conflict when adding a new board.

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

---
v2:

NAK

I order them by Kconfig keepo it that way

Quoted 8 lines
Quoted 5 lines

I'd say it makes more sense to keep them in the order the user actually sees them, it makes it easier to find the entries. What's the value in ordering them by Kconfig name?
If you order them by Kconfig name, the Calao boards end up in three different places in the user visible view.

I do it the same we do on the kernel
and I do want to keep that way the board are order by Kconfig

'keep' the way implies that they are ordered, they are not.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox