summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-03-13 10:52:49 +0800
committerShawn Guo <shawn.guo@linaro.org>2013-03-19 13:56:05 +0800
commit287939a3690c8da6fd3310d7593ff0448cb9447c (patch)
treec2607f25ab1889fbfe9994aed68d4f6d662f6c8a /arch
parenta937536b868b8369b98967929045f1df54234323 (diff)
downloadlinux-287939a3690c8da6fd3310d7593ff0448cb9447c.tar.gz
linux-287939a3690c8da6fd3310d7593ff0448cb9447c.tar.bz2
linux-287939a3690c8da6fd3310d7593ff0448cb9447c.zip
ARM: imx: add dependency check for DEBUG_IMX_UART_PORT
While adding i.MX DEBUG_LL selection, commit f8c95fe (ARM: imx: support DEBUG_LL uart port selection for all i.MX SoCs) leaves Kconfig symbol DEBUG_IMX_UART_PORT there without any dependency check. This results in that everyone gets the symbol in their config, which is someting undesirable. Add "depends on ARCH_MXC" for the symbol to prevent that. Reported-by: Karl Beldan <karl.beldan@gmail.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig.debug1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index ecfcdba2d17c..9b31f4311ea2 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -495,6 +495,7 @@ config DEBUG_IMX_UART_PORT
DEBUG_IMX53_UART || \
DEBUG_IMX6Q_UART
default 1
+ depends on ARCH_MXC
help
Choose UART port on which kernel low-level debug messages
should be output.