[PATCH] barebox-next: Avoid a Kconfig warning

Juergen Beisert jbe at pengutronix.de
Mon Oct 11 04:50:28 EDT 2010


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

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

Signed-off-by: Juergen Beisert <jbe at pengutronix.de>

---
 arch/arm/mach-imx/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: arch/arm/mach-imx/Kconfig
===================================================================
--- arch/arm/mach-imx/Kconfig.orig
+++ 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
 

-- 
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/  |



More information about the barebox mailing list