ARM: imx: add dependency check for DEBUG_IMX_UART_PORT
authorShawn Guo <shawn.guo@linaro.org>
Wed, 13 Mar 2013 02:52:49 +0000 (10:52 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 19 Mar 2013 05:56:05 +0000 (13:56 +0800)
commit287939a3690c8da6fd3310d7593ff0448cb9447c
treec2607f25ab1889fbfe9994aed68d4f6d662f6c8a
parenta937536b868b8369b98967929045f1df54234323
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>
arch/arm/Kconfig.debug