Skip to content

Commit 624b9d8

Browse files
rperierolofj
authored andcommitted
ARM: debug: add UART early console support for MSTAR SoCs
This adds the debug_ll uart for the PM UART found on armv7-based MStar SoCs. Signed-off-by: Romain Perier <romain.perier@gmail.com> Acked-by: Daniel Palmer <daniel@thingy.jp> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Mohammed Billoo <mohammed.billoo@gmail.com> Signed-off-by: Daniel Palmer <daniel@0x0f.com> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 57d459e commit 624b9d8

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

arch/arm/Kconfig.debug

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,14 @@ choice
607607
when u-boot hands over to the kernel, the system
608608
silently crashes, with no serial output at all.
609609

610+
config DEBUG_MSTARV7_PMUART
611+
bool "Kernel low-level debugging messages via MSTARV7 PM UART"
612+
depends on ARCH_MSTARV7
613+
select DEBUG_UART_8250
614+
help
615+
Say Y here if you want kernel low-level debugging support
616+
for MSTAR ARMv7-based platforms on PM UART.
617+
610618
config DEBUG_MT6589_UART0
611619
bool "Mediatek mt6589 UART0"
612620
depends on ARCH_MEDIATEK
@@ -1605,6 +1613,7 @@ config DEBUG_UART_PHYS
16051613
default 0x18000400 if DEBUG_BCM_HR2
16061614
default 0x18023000 if DEBUG_BCM_IPROC_UART3
16071615
default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
1616+
default 0x1f221000 if DEBUG_MSTARV7_PMUART
16081617
default 0x20001000 if DEBUG_HIP01_UART
16091618
default 0x20060000 if DEBUG_RK29_UART0
16101619
default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
@@ -1722,6 +1731,7 @@ config DEBUG_UART_VIRT
17221731
default 0xf0100000 if DEBUG_DIGICOLOR_UA0
17231732
default 0xf01fb000 if DEBUG_NOMADIK_UART
17241733
default 0xf0201000 if DEBUG_BCM2835 || DEBUG_BCM2836
1734+
default 0xf0221000 if DEBUG_MSTARV7_PMUART
17251735
default 0xf1000300 if DEBUG_BCM_5301X
17261736
default 0xf1000400 if DEBUG_BCM_HR2
17271737
default 0xf1002000 if DEBUG_MT8127_UART0
@@ -1827,6 +1837,7 @@ config DEBUG_UART_8250_SHIFT
18271837
default 0 if DEBUG_FOOTBRIDGE_COM1 || ARCH_IOP32X || DEBUG_BCM_5301X || \
18281838
DEBUG_BCM_HR2 || DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || \
18291839
DEBUG_OMAP7XXUART3
1840+
default 3 if DEBUG_MSTARV7_PMUART
18301841
default 2
18311842

18321843
config DEBUG_UART_8250_WORD

0 commit comments

Comments
 (0)