mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] barebox-next: Avoid a Kconfig warning
@ 2010-10-11  8:50 Juergen Beisert
  2010-10-11 12:48 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 3+ messages in thread
From: Juergen Beisert @ 2010-10-11  8:50 UTC (permalink / raw)
  To: barebox

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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-11 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-11  8:50 [PATCH] barebox-next: Avoid a Kconfig warning Juergen Beisert
2010-10-11 12:48 ` Jean-Christophe PLAGNIOL-VILLARD
2010-10-11 13:00   ` Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox