Skip to contentSkip to conversation

barebox-next: Avoid a Kconfig warning

PATCH In review Juergen Beisert 2 participants 3 messages Oct 11, 2010 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 barebox-next: Avoid a Kconfig warning

This patch removes the following warning in the current next-tree:

"arch/arm/mach-imx/Kconfig:53:warning: defaults for choice values not supported"

---
 arch/arm/mach-imx/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arm/mach-imx/Kconfig renamed from arm/mach-imx/Kconfig.orig +1 -1
Index: arch/arm/mach-imx/Kconfig
===================================================================
@@ -42,6 +42,7 @@ config ARCH_IMX_INTERNAL_BOOT
 
 choice
 	depends on ARCH_IMX_INTERNAL_BOOT
+	default ARCH_IMX_INTERNAL_BOOT_NAND
 	prompt "Internal boot source"
 	help
 	  Determines the location of the header information for internal boot.
@@ -50,7 +51,6 @@ choice
 	  0x1000 for NOR
 
 config ARCH_IMX_INTERNAL_BOOT_NAND
-	default y
 	bool "NAND, SD/MMC, Serial ROM"
 	select NAND_IMX_BOOT
 
Signature · 9 lines
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
Quoted 9 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 6 lines · Juergen Beisert

This patch removes the following warning in the current next-tree:

"arch/arm/mach-imx/Kconfig:53:warning: defaults for choice values not supported"

already fix in master

Ups, but not in next.

jbe

Signature · 9 lines
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

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