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

Signed-off-by: Sascha Hauer <[email protected]>
---
 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


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

Reply via email to