diff options
author | Tom Rini <trini@konsulko.com> | 2022-06-07 12:21:57 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-07 12:21:57 -0400 |
commit | ed1cbbe2afe4d4c7c25316db4c2e15c4c579fc4e (patch) | |
tree | a8315fd7fca59a0cff90ba0343d73c3f15e18c50 /arch/arm/mach-uniphier/debug-uart/debug-uart.c | |
parent | 41e47b420d6b122f6eb21e6e4438b334cc983eb1 (diff) | |
parent | b62450cf229c50ad2ce819dd02a09726909cc89a (diff) |
Merge branch '2022-06-07-assorted-improvements' into next
- A wide ranging set of minor clean-ups and improvements
Diffstat (limited to 'arch/arm/mach-uniphier/debug-uart/debug-uart.c')
-rw-r--r-- | arch/arm/mach-uniphier/debug-uart/debug-uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/debug-uart/debug-uart.c b/arch/arm/mach-uniphier/debug-uart/debug-uart.c index d116d46812d..1ba012ca45d 100644 --- a/arch/arm/mach-uniphier/debug-uart/debug-uart.c +++ b/arch/arm/mach-uniphier/debug-uart/debug-uart.c @@ -18,7 +18,7 @@ static void _debug_uart_putc(int c) { - void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; + void __iomem *base = (void __iomem *)CONFIG_VAL(DEBUG_UART_BASE); while (!(readl(base + UNIPHIER_UART_LSR) & UART_LSR_THRE)) ; @@ -57,7 +57,7 @@ void sg_set_iectrl(unsigned int pin) void _debug_uart_init(void) { #ifdef CONFIG_SPL_BUILD - void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; + void __iomem *base = (void __iomem *)CONFIG_VAL(DEBUG_UART_BASE); unsigned int divisor; switch (uniphier_get_soc_id()) { |