[PATCH 07/11] Kconfig: Depend on correct xPL symbol

Jonas Karlman jonas at kwiboo.se
Thu Jul 9 00:05:33 CEST 2026


Change to depend on correct xPL symbol instead of a xPL symbol intended
for a different phase to make affected symbols available for correct
phase.

Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
---
 arch/Kconfig         | 2 +-
 common/spl/Kconfig   | 2 +-
 drivers/core/Kconfig | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index 8d63afeb138e..408e53524e5f 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -508,7 +508,7 @@ config SPL_SKIP_LOWLEVEL_INIT
 
 config TPL_SKIP_LOWLEVEL_INIT
 	bool "Skip calls to certain low level initialization functions in TPL"
-	depends on SPL && ARM
+	depends on TPL && ARM
 	help
 	  If enabled, then certain low level initializations (like setting up
 	  the memory controller) are omitted and/or U-Boot does not relocate
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 0618f42c9410..988d815f8c79 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1768,7 +1768,7 @@ config TPL
 source "common/spl/Kconfig.tpl"
 
 config VPL
-	depends on SUPPORT_SPL && !COMPILE_TEST
+	depends on SUPPORT_VPL && !COMPILE_TEST
 	bool "Enable VPL"
 	help
 	  If you want to build VPL as well as the normal image, TPL and SPL,
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index ae0c34667723..a0e252b0529c 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -394,8 +394,8 @@ config TPL_OF_TRANSLATE
 	  smaller in size than fdt_translate_address()
 
 config VPL_OF_TRANSLATE
-	bool "Translate addresses using fdt_translate_address in SPL"
-	depends on SPL_DM && VPL_OF_CONTROL
+	bool "Translate addresses using fdt_translate_address in VPL"
+	depends on VPL_DM && VPL_OF_CONTROL
 	help
 	  If this option is enabled, the reg property will be translated
 	  using the fdt_translate_address() function. This is necessary
-- 
2.54.0



More information about the U-Boot mailing list