From: Simon Glass <sjg@chromium.org>
Date: Fri, 20 Sep 2024 07:24:32 +0000 (+0200)
Subject: serial: Support debug UART in TPL
X-Git-Tag: v2025.01-rc5-pxa1908~196^2~37^2~10
X-Git-Url: http://git.dujemihanovic.xyz/img/html/index.html?a=commitdiff_plain;h=5d93d8137ddfcb58f23d6038feefca27f656a463;p=u-boot.git

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>
---

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 3a1e5a6f28..8b27ad9a77 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -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