[PATCH 5/5] spl: binman: Add a config option for binman symbols in VPL
Alper Nebi Yasak
alpernebiyasak at gmail.com
Fri Jun 10 12:58:05 CEST 2022
The SPL code declares binman symbols for U-Boot phases depending on
CONFIG_IS_ENABLED(BINMAN_SYMBOLS). This config exists for SPL and TPL,
also add a version for VPL.
Signed-off-by: Alper Nebi Yasak <alpernebiyasak at gmail.com>
---
common/spl/Kconfig.vpl | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/common/spl/Kconfig.vpl b/common/spl/Kconfig.vpl
index ba1ea6075b94..29fa1cf400ba 100644
--- a/common/spl/Kconfig.vpl
+++ b/common/spl/Kconfig.vpl
@@ -198,4 +198,16 @@ config VPL_TEXT_BASE
help
The address in memory that VPL will be running from.
+config VPL_BINMAN_SYMBOLS
+ bool "Declare binman symbols for U-Boot phases in VPL"
+ depends on VPL_FRAMEWORK && BINMAN
+ default y
+ help
+ This enables use of symbols in VPL which refer to U-Boot phases,
+ enabling VPL to obtain the location and size of its next phase simply
+ by calling spl_get_image_pos() and spl_get_image_size().
+
+ For this to work, you must have all U-Boot phases in the same binman
+ image, so binman can update VPL with the locations of everything.
+
endmenu
--
2.36.1
More information about the U-Boot
mailing list