serial: Support debug UART in TPL

Some boards want to use the debug UART in TPL so add an option for that.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2024-09-20 09:24:32 +02:00 committed by Tom Rini
parent 752fb69af6
commit 5d93d8137d

View file

@ -539,6 +539,13 @@ config TPL_DEBUG_UART_BASE
help
This is the base address of your UART for memory-mapped UARTs for TPL.
config VPL_DEBUG_UART_BASE
hex "Base address of UART for VPL"
depends on VPL && DEBUG_UART
default DEBUG_UART_BASE
help
This is the base address of your UART for memory-mapped UARTs for VPL.
config DEBUG_UART_CLOCK
int "UART input clock"
depends on DEBUG_UART