diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-01-08 12:38:04 -0500 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2015-01-09 09:56:30 -0500 |
commit | bd920490047ae5fb0dbf1c2fdaabeaf664528966 (patch) | |
tree | 09ec377e47649d18e91afe5e5c39059a2b3deb24 | |
parent | d91125ddf96237cee7b56448d7f318361c97c8b1 (diff) |
ARM: mvebu: Add UART1 as DEBUG_LL possible target
Some mvebu boards have the UART1 more easily accessible than the other UARTs
found on the system.
Add a debug_ll option for this case.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
-rw-r--r-- | arch/arm/Kconfig.debug | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index eb3991cf63ab..7bd1bbccc43c 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -489,6 +489,21 @@ choice | |||
489 | when u-boot hands over to the kernel, the system | 489 | when u-boot hands over to the kernel, the system |
490 | silently crashes, with no serial output at all. | 490 | silently crashes, with no serial output at all. |
491 | 491 | ||
492 | config DEBUG_MVEBU_UART1_ALTERNATE | ||
493 | bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)" | ||
494 | depends on ARCH_MVEBU | ||
495 | select DEBUG_UART_8250 | ||
496 | help | ||
497 | Say Y here if you want kernel low-level debugging support | ||
498 | on MVEBU based platforms on UART1. | ||
499 | |||
500 | This option should be used with the new bootloaders | ||
501 | that remap the internal registers at 0xf1000000. | ||
502 | |||
503 | If the wrong DEBUG_MVEBU_UART* option is selected, | ||
504 | when u-boot hands over to the kernel, the system | ||
505 | silently crashes, with no serial output at all. | ||
506 | |||
492 | config DEBUG_VF_UART | 507 | config DEBUG_VF_UART |
493 | bool "Vybrid UART" | 508 | bool "Vybrid UART" |
494 | depends on SOC_VF610 | 509 | depends on SOC_VF610 |
@@ -1297,6 +1312,7 @@ config DEBUG_UART_PHYS | |||
1297 | default 0xf0000be0 if ARCH_EBSA110 | 1312 | default 0xf0000be0 if ARCH_EBSA110 |
1298 | default 0xf040ab00 if DEBUG_BRCMSTB_UART | 1313 | default 0xf040ab00 if DEBUG_BRCMSTB_UART |
1299 | default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE | 1314 | default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE |
1315 | default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE | ||
1300 | default 0xf1012000 if ARCH_DOVE || ARCH_MV78XX0 || \ | 1316 | default 0xf1012000 if ARCH_DOVE || ARCH_MV78XX0 || \ |
1301 | ARCH_ORION5X | 1317 | ARCH_ORION5X |
1302 | default 0xf7fc9000 if DEBUG_BERLIN_UART | 1318 | default 0xf7fc9000 if DEBUG_BERLIN_UART |
@@ -1378,6 +1394,7 @@ config DEBUG_UART_VIRT | |||
1378 | default 0xfeb31000 if DEBUG_KEYSTONE_UART1 | 1394 | default 0xfeb31000 if DEBUG_KEYSTONE_UART1 |
1379 | default 0xfec02000 if DEBUG_SOCFPGA_UART | 1395 | default 0xfec02000 if DEBUG_SOCFPGA_UART |
1380 | default 0xfec12000 if DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE | 1396 | default 0xfec12000 if DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE |
1397 | default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE | ||
1381 | default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0 | 1398 | default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0 |
1382 | default 0xfec90000 if DEBUG_RK32_UART2 | 1399 | default 0xfec90000 if DEBUG_RK32_UART2 |
1383 | default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1 | 1400 | default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1 |