]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: Replace CONFIG_DEBUG_UART_BASE by CONFIG_VAL(DEBUG_UART_BASE)
authorPali Rohár <pali@kernel.org>
Fri, 27 May 2022 20:15:24 +0000 (22:15 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 22:01:21 +0000 (18:01 -0400)
commitb62450cf229c50ad2ce819dd02a09726909cc89a
treea8315fd7fca59a0cff90ba0343d73c3f15e18c50
parent24272ffd505be0597703032dbdd8ffdd7ef7a1a9
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>
24 files changed:
arch/arm/mach-uniphier/debug-uart/debug-uart.c
arch/x86/cpu/apollolake/cpu_common.c
board/eets/pdu001/board.c
drivers/serial/altera_jtag_uart.c
drivers/serial/altera_uart.c
drivers/serial/atmel_usart.c
drivers/serial/serial_ar933x.c
drivers/serial/serial_arc.c
drivers/serial/serial_bcm6345.c
drivers/serial/serial_linflexuart.c
drivers/serial/serial_meson.c
drivers/serial/serial_msm_geni.c
drivers/serial/serial_mt7620.c
drivers/serial/serial_mtk.c
drivers/serial/serial_mvebu_a3700.c
drivers/serial/serial_mxc.c
drivers/serial/serial_omap.c
drivers/serial/serial_pic32.c
drivers/serial/serial_pl01x.c
drivers/serial/serial_s5p.c
drivers/serial/serial_sifive.c
drivers/serial/serial_stm32.c
drivers/serial/serial_xuartlite.c
drivers/serial/serial_zynq.c