[PATCH 7/5] serial: Add new config option TPL_DEBUG_UART_BASE

Pali Rohár pali at kernel.org
Mon May 16 18:49:09 CEST 2022


TPL_DEBUG_UART_BASE is same as DEBUG_UART_BASE, but applies only for TPL.

Signed-off-by: Pali Rohár <pali at kernel.org>
---
 drivers/serial/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 46726d76b162..f6425a530e57 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
-- 
2.20.1



More information about the U-Boot mailing list