diff options
author | Tsahee Zidenberg <tsahee@annapurnalabs.com> | 2015-03-12 07:53:04 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-03-16 10:24:03 -0400 |
commit | 3c215e64eb00f1ea5c67de2141ba816cb3f3c682 (patch) | |
tree | ff36be31d21ea1cf6b95ebf4ba6f40e3334abd1f | |
parent | 445d9b3060545812632456e0bded8e86b580b783 (diff) |
ARM: Alpine: early-debug print support
Alpine platform includes UART8250 that can be used for early prints.
Signed-off-by: Saeed Bishara <saeed@annapurnalabs.com>
Signed-off-by: Tsahee Zidenberg <tsahee@annapurnalabs.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/Kconfig.debug | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 970de7518341..77f9f8eac162 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -93,6 +93,14 @@ choice | |||
93 | prompt "Kernel low-level debugging port" | 93 | prompt "Kernel low-level debugging port" |
94 | depends on DEBUG_LL | 94 | depends on DEBUG_LL |
95 | 95 | ||
96 | config DEBUG_ALPINE_UART0 | ||
97 | bool "Kernel low-level debugging messages via Alpine UART0" | ||
98 | depends on ARCH_ALPINE | ||
99 | select DEBUG_UART_8250 | ||
100 | help | ||
101 | Say Y here if you want kernel low-level debugging support | ||
102 | on Alpine based platforms. | ||
103 | |||
96 | config DEBUG_ASM9260_UART | 104 | config DEBUG_ASM9260_UART |
97 | bool "Kernel low-level debugging via asm9260 UART" | 105 | bool "Kernel low-level debugging via asm9260 UART" |
98 | depends on MACH_ASM9260 | 106 | depends on MACH_ASM9260 |
@@ -1417,6 +1425,7 @@ config DEBUG_UART_PHYS | |||
1417 | default 0xf8b00000 if DEBUG_HIX5HD2_UART | 1425 | default 0xf8b00000 if DEBUG_HIX5HD2_UART |
1418 | default 0xf991e000 if DEBUG_QCOM_UARTDM | 1426 | default 0xf991e000 if DEBUG_QCOM_UARTDM |
1419 | default 0xfcb00000 if DEBUG_HI3620_UART | 1427 | default 0xfcb00000 if DEBUG_HI3620_UART |
1428 | default 0xfd883000 if DEBUG_ALPINE_UART0 | ||
1420 | default 0xfe800000 if ARCH_IOP32X | 1429 | default 0xfe800000 if ARCH_IOP32X |
1421 | default 0xff690000 if DEBUG_RK32_UART2 | 1430 | default 0xff690000 if DEBUG_RK32_UART2 |
1422 | default 0xffc02000 if DEBUG_SOCFPGA_UART | 1431 | default 0xffc02000 if DEBUG_SOCFPGA_UART |
@@ -1483,6 +1492,7 @@ config DEBUG_UART_VIRT | |||
1483 | default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX | 1492 | default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX |
1484 | default 0xfd000000 if ARCH_SPEAR13XX | 1493 | default 0xfd000000 if ARCH_SPEAR13XX |
1485 | default 0xfd012000 if ARCH_MV78XX0 | 1494 | default 0xfd012000 if ARCH_MV78XX0 |
1495 | default 0xfd883000 if DEBUG_ALPINE_UART0 | ||
1486 | default 0xfde12000 if ARCH_DOVE | 1496 | default 0xfde12000 if ARCH_DOVE |
1487 | default 0xfe012000 if ARCH_ORION5X | 1497 | default 0xfe012000 if ARCH_ORION5X |
1488 | default 0xf31004c0 if DEBUG_MESON_UARTAO | 1498 | default 0xf31004c0 if DEBUG_MESON_UARTAO |
@@ -1543,7 +1553,7 @@ config DEBUG_UART_8250_WORD | |||
1543 | depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 | 1553 | depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 |
1544 | depends on DEBUG_UART_8250_SHIFT >= 2 | 1554 | depends on DEBUG_UART_8250_SHIFT >= 2 |
1545 | default y if DEBUG_PICOXCELL_UART || DEBUG_SOCFPGA_UART || \ | 1555 | default y if DEBUG_PICOXCELL_UART || DEBUG_SOCFPGA_UART || \ |
1546 | ARCH_KEYSTONE || \ | 1556 | ARCH_KEYSTONE || DEBUG_ALPINE_UART0 || \ |
1547 | DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \ | 1557 | DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \ |
1548 | DEBUG_DAVINCI_DA8XX_UART2 || \ | 1558 | DEBUG_DAVINCI_DA8XX_UART2 || \ |
1549 | DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \ | 1559 | DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \ |