ARM: imx6q: let users input debug uart port number
authorShawn Guo <shawn.guo@linaro.org>
Mon, 8 Oct 2012 05:44:29 +0000 (13:44 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 16 Nov 2012 06:18:52 +0000 (14:18 +0800)
commit49c9e60eaaa966cdb02ac9e989eeb6f940691c5d
treedc07cdb19a2ac15f571067fa52de470c24f29528
parent2a3246713560344254bf96aa00def0cae26d564f
ARM: imx6q: let users input debug uart port number

imx6q gets 5 uart ports in total.  Different board design may choose
different port as debug uart.  For example, imx6q-sabresd uses UART1,
imx6q-sabrelite uses UART2 and imx6q-arm2 uses UART4.  Rather than
bloating DEBUG_LL choice list with all these uart ports, the patch
introduces DEBUG_IMX6Q_UART_PORT for users to input uart port number
when DEBUG_IMX6Q_UART is selected inside DEBUG_LL choice.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/Kconfig.debug
arch/arm/include/debug/imx.S
arch/arm/mach-imx/lluart.c
arch/arm/mach-imx/mx6q.h