aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig.debug
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-12-12 06:03:53 -0500
committerShawn Guo <shawn.guo@linaro.org>2013-02-04 21:14:55 -0500
commitf8c95fe6d9adad72fc7bce90f4ab68d119f50c5b (patch)
tree79b421f9052c3d331347f577150f14a91cc62c28 /arch/arm/Kconfig.debug
parent4ad625d466389b016a9aec425b3dc2d82adc43df (diff)
ARM: imx: support DEBUG_LL uart port selection for all i.MX SoCs
Extend imx6q DEBUG_LL uart port selection support to cover all i.MX SoCs. The 'range' of the Kconfig option gets dropped, as users looking at the option must know the uart number on his board. The bottom line is that the build system will report an error if an invalid port number is picked for given SoC. The header arch/arm/include/debug/imx-uart.h is created to accommodate all the uart base addresses. And the header will also be used for other low-level debug facility later. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r--arch/arm/Kconfig.debug13
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index dfe788a84e5e..7fee63f84099 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -457,11 +457,16 @@ choice
457 457
458endchoice 458endchoice
459 459
460config DEBUG_IMX6Q_UART_PORT 460config DEBUG_IMX_UART_PORT
461 int "i.MX6Q Debug UART Port (1-5)" if DEBUG_IMX6Q_UART 461 int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \
462 range 1 5 462 DEBUG_IMX25_UART || \
463 DEBUG_IMX21_IMX27_UART || \
464 DEBUG_IMX31_UART || \
465 DEBUG_IMX35_UART || \
466 DEBUG_IMX51_UART || \
467 DEBUG_IMX50_IMX53_UART || \
468 DEBUG_IMX6Q_UART
463 default 1 469 default 1
464 depends on SOC_IMX6Q
465 help 470 help
466 Choose UART port on which kernel low-level debug messages 471 Choose UART port on which kernel low-level debug messages
467 should be output. 472 should be output.