aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2014-04-07 15:50:50 +0100
committerDaniel Thompson <daniel.thompson@linaro.org>2014-08-18 10:41:38 +0100
commita95cb90b0448087f386b3f4ff43b062ba556272f (patch)
tree4f6cadc00b6ef27e06f41c00582b43373d74c0e2
parent497fe9634516ad557d9f48cbab90c3d22e1b0b20 (diff)
downloadlinux-a95cb90b0448087f386b3f4ff43b062ba556272f.tar.gz
ARM: Conceal DEBUG_LL_UART_NONE from unsupported platforms
Only a small handful of platforms support DEBUG_LL_UART_NONE but it lurks in the menus of every single platform config ready to break the build. This is an especial problem for defconfigs since it is often selected by default. This patch limit this choice only to platforms capable of supporting it. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-rw-r--r--arch/arm/Kconfig.debug13
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index b11ad54f8d17..227c42c4b40c 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -879,7 +879,18 @@ choice
config DEBUG_LL_UART_NONE
bool "No low-level debugging UART"
- depends on !ARCH_MULTIPLATFORM
+ depends on ARCH_AT91 || \
+ ARCH_CLPS711X || \
+ ARCH_FOOTBRIDGE || \
+ ARCH_KS8695 || \
+ ARCH_NETX || \
+ ARCH_OMAP1 || \
+ ARCH_SA1100 || \
+ ARCH_S3C24XX || \
+ ARCH_S3C64XX || \
+ ARCH_S5P64X0 || \
+ ARCH_S5PC100 || \
+ ARCH_S5PV210
help
Say Y here if your platform doesn't provide a UART option
above. This relies on your platform choosing the right UART