summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_linflexuart.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-07 12:21:57 -0400
committerTom Rini <trini@konsulko.com>2022-06-07 12:21:57 -0400
commited1cbbe2afe4d4c7c25316db4c2e15c4c579fc4e (patch)
treea8315fd7fca59a0cff90ba0343d73c3f15e18c50 /drivers/serial/serial_linflexuart.c
parent41e47b420d6b122f6eb21e6e4438b334cc983eb1 (diff)
parentb62450cf229c50ad2ce819dd02a09726909cc89a (diff)
Merge branch '2022-06-07-assorted-improvements' into next
- A wide ranging set of minor clean-ups and improvements
Diffstat (limited to 'drivers/serial/serial_linflexuart.c')
-rw-r--r--drivers/serial/serial_linflexuart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_linflexuart.c b/drivers/serial/serial_linflexuart.c
index 876a4baa9fc..b449e55a650 100644
--- a/drivers/serial/serial_linflexuart.c
+++ b/drivers/serial/serial_linflexuart.c
@@ -201,14 +201,14 @@ U_BOOT_DRIVER(serial_linflex) = {
static inline void _debug_uart_init(void)
{
- struct linflex_fsl *base = (struct linflex_fsl *)CONFIG_DEBUG_UART_BASE;
+ struct linflex_fsl *base = (struct linflex_fsl *)CONFIG_VAL(DEBUG_UART_BASE);
linflex_serial_init_internal(base);
}
static inline void _debug_uart_putc(int ch)
{
- struct linflex_fsl *base = (struct linflex_fsl *)CONFIG_DEBUG_UART_BASE;
+ struct linflex_fsl *base = (struct linflex_fsl *)CONFIG_VAL(DEBUG_UART_BASE);
/* XXX: Is this OK? Should this use the non-DM version? */
_linflex_serial_putc(base, ch);