diff options
author | Pali Rohár <pali@kernel.org> | 2022-05-16 18:49:09 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-05-17 06:44:06 +0200 |
commit | 958789f026c23d9bfea9d31fe78745ef32b0bd7b (patch) | |
tree | af5a3008e073758aba91d82781091e9ddf1a8767 | |
parent | 9f971ff71498a34f533e341a7e0d00ec75d9fc5b (diff) | |
download | u-boot-958789f026c23d9bfea9d31fe78745ef32b0bd7b.tar.gz u-boot-958789f026c23d9bfea9d31fe78745ef32b0bd7b.tar.bz2 u-boot-958789f026c23d9bfea9d31fe78745ef32b0bd7b.zip |
serial: Add new config option TPL_DEBUG_UART_BASE
TPL_DEBUG_UART_BASE is same as DEBUG_UART_BASE, but applies only for TPL.
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | drivers/serial/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 46726d76b1..f6425a530e 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -515,6 +515,13 @@ config SPL_DEBUG_UART_BASE help This is the base address of your UART for memory-mapped UARTs for SPL. +config TPL_DEBUG_UART_BASE + hex "Base address of UART for TPL" + depends on TPL && DEBUG_UART + default DEBUG_UART_BASE + help + This is the base address of your UART for memory-mapped UARTs for TPL. + config DEBUG_UART_CLOCK int "UART input clock" depends on DEBUG_UART |