[PATCH 16/16] ARM: OMAP: let UART selection depend on its only user

Sascha Hauer s.hauer at pengutronix.de
Fri Nov 22 09:54:43 EST 2013


The UART selection is only meaningful to omap3evm, so hide it
from other users.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-omap/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
index 79e75d8..3d680ac 100644
--- a/arch/arm/mach-omap/Kconfig
+++ b/arch/arm/mach-omap/Kconfig
@@ -188,6 +188,7 @@ if ARCH_OMAP
 choice
 	prompt "Select UART"
 	default OMAP_UART3
+	depends on MACH_OMAP3EVM
 
 	config OMAP_UART1
 		bool "Use UART1"
-- 
1.8.4.2




More information about the barebox mailing list