aboutsummaryrefslogtreecommitdiff
path: root/board/eets/pdu001
diff options
context:
space:
mode:
authorPali Rohár2022-05-27 22:15:24 +0200
committerTom Rini2022-06-06 18:01:21 -0400
commitb62450cf229c50ad2ce819dd02a09726909cc89a (patch)
treea8315fd7fca59a0cff90ba0343d73c3f15e18c50 /board/eets/pdu001
parent24272ffd505be0597703032dbdd8ffdd7ef7a1a9 (diff)
serial: Replace CONFIG_DEBUG_UART_BASE by CONFIG_VAL(DEBUG_UART_BASE)
CONFIG_VAL(DEBUG_UART_BASE) expands to CONFIG_DEBUG_UART_BASE or CONFIG_SPL_DEBUG_UART_BASE or CONFIG_TPL_DEBUG_UART_BASE and allows boards to set different values for SPL, TPL and U-Boot Proper. For ns16550 driver this support is there since commit d293759d55cc ("serial: ns16550: Add support for SPL_DEBUG_UART_BASE"). Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'board/eets/pdu001')
-rw-r--r--board/eets/pdu001/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/eets/pdu001/board.c b/board/eets/pdu001/board.c
index 2b483dab8e1..1054837d434 100644
--- a/board/eets/pdu001/board.c
+++ b/board/eets/pdu001/board.c
@@ -273,7 +273,7 @@ void board_debug_uart_init(void)
setup_early_clocks();
/* done by pin controller driver if not debugging */
- enable_uart_pin_mux(CONFIG_DEBUG_UART_BASE);
+ enable_uart_pin_mux(CONFIG_VAL(DEBUG_UART_BASE));
}
#endif