[PATCH] ARM: OMAP: Do not show MLO/SPI image options with OMAP_MULTI_BOARDS

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 7 05:15:13 PDT 2014


The MLO/SPI image options have no effect with OMAP_MULTI_BOARDS
enabled, so do not show them.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/configs/am335x_mlo_defconfig | 1 -
 arch/arm/mach-omap/Kconfig            | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/am335x_mlo_defconfig b/arch/arm/configs/am335x_mlo_defconfig
index 19f78d0..b8dc4e0 100644
--- a/arch/arm/configs/am335x_mlo_defconfig
+++ b/arch/arm/configs/am335x_mlo_defconfig
@@ -1,5 +1,4 @@
 CONFIG_ARCH_OMAP=y
-CONFIG_OMAP_BUILD_IFT=y
 CONFIG_OMAP_MULTI_BOARDS=y
 CONFIG_MACH_BEAGLEBONE=y
 CONFIG_MACH_PCM051=y
diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
index 732de15..4458572 100644
--- a/arch/arm/mach-omap/Kconfig
+++ b/arch/arm/mach-omap/Kconfig
@@ -72,6 +72,7 @@ config OMAP_GPMC
 
 config OMAP_BUILD_IFT
 	prompt "build ift binary (MLO)"
+	depends on !OMAP_MULTI_BOARDS
 	bool
 	help
 	  Say Y here if you want to build an MLO binary. On TI SoCs, this
@@ -80,6 +81,7 @@ config OMAP_BUILD_IFT
 
 config OMAP_BUILD_SPI
 	prompt "build SPI binary"
+	depends on !OMAP_MULTI_BOARDS
 	bool
 	help
 	  Say Y here if you want to build an barebox.spi image as used
-- 
2.0.0




More information about the barebox mailing list