diff options
author | Pali Rohár <pali@kernel.org> | 2022-05-27 23:15:24 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-07 01:01:21 +0300 |
commit | b62450cf229c50ad2ce819dd02a09726909cc89a (patch) | |
tree | a8315fd7fca59a0cff90ba0343d73c3f15e18c50 /arch/x86 | |
parent | 24272ffd505be0597703032dbdd8ffdd7ef7a1a9 (diff) | |
download | u-boot-b62450cf229c50ad2ce819dd02a09726909cc89a.tar.xz |
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 'arch/x86')
-rw-r--r-- | arch/x86/cpu/apollolake/cpu_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/apollolake/cpu_common.c b/arch/x86/cpu/apollolake/cpu_common.c index 5d7d26b140..9a5502617b 100644 --- a/arch/x86/cpu/apollolake/cpu_common.c +++ b/arch/x86/cpu/apollolake/cpu_common.c @@ -72,7 +72,7 @@ static void pch_uart_init(void) } #ifdef CONFIG_DEBUG_UART - apl_uart_init(PCH_DEV_UART, CONFIG_DEBUG_UART_BASE); + apl_uart_init(PCH_DEV_UART, CONFIG_VAL(DEBUG_UART_BASE)); #endif } |