Some SoCs have a UART with a non-standard register layout. This
allows the debug console to work with these.
Signed-off-by: Mans Rullgard <mans@xxxxxxxxx>
---
I would have preferred a more accurate description of the UART, but I've
not managed to figure out who the vendor is.
---
arch/arm/Kconfig.debug | 4 ++++
arch/arm/include/debug/8250.S | 12 ++++++++++++
2 files changed, 16 insertions(+)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 0cfd7f9..8d5c837 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1597,6 +1597,10 @@ config DEBUG_UART_8250_WORD
DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \
DEBUG_BRCMSTB_UART
+config DEBUG_UART_8250_AU
+ bool "8250 UART has Alchemy register layout"
+ depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
+