diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2013-06-01 11:52:44 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-02 11:24:21 +0200 |
commit | 3c90cbfa64c04895c5dbed55b7712bfe9a375295 (patch) | |
tree | 0c034806a1f67ebc70967164affe1a515f95f4de /arch/mips/mach-xburst/Kconfig | |
parent | b993cc4a226c145368af1eeb44f3cc002fc0b676 (diff) | |
download | barebox-3c90cbfa64c04895c5dbed55b7712bfe9a375295.tar.gz barebox-3c90cbfa64c04895c5dbed55b7712bfe9a375295.tar.xz |
MIPS: XBurst: use mach-specific debug_ll setup
Ingenic JZ4755 SoC (JZ4750D family) has three UARTs.
So we can give to the user choose which one of them
to use for low level debug (debug_ll) output.
Also this commit adapts the only JZ4755 board
(Ritmix RZX50) for using the new debug_ll port
selection.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-xburst/Kconfig')
-rw-r--r-- | arch/mips/mach-xburst/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/mips/mach-xburst/Kconfig b/arch/mips/mach-xburst/Kconfig index c72b7414d5..e6413d5637 100644 --- a/arch/mips/mach-xburst/Kconfig +++ b/arch/mips/mach-xburst/Kconfig @@ -17,6 +17,24 @@ config BOARD_RZX50 endchoice +if DEBUG_LL +if CPU_JZ4755 +choice + prompt "DEBUG_LL port" + +config JZ4750D_DEBUG_LL_UART0 + bool "UART0" + +config JZ4750D_DEBUG_LL_UART1 + bool "UART1" + +config JZ4750D_DEBUG_LL_UART2 + bool "UART2" + +endchoice +endif # CPU_JZ4755 +endif # DEBUG_LL + source arch/mips/boards/rzx50/Kconfig endif |