[PATCH v4 35/46] Add VPL options for BLOBLIST
sjg at chromium.org
Mon Feb 20 00:45:16 CET 2023
We can use this feature in VPL, so add some options for it. Also fix a
typo in the SPL help while we are here.
Signed-off-by: Simon Glass <sjg at chromium.org>
(no changes since v1)
common/Kconfig | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/common/Kconfig b/common/Kconfig
index 33c3b1dbf0f..a6b10a251a0 100644
@@ -1063,7 +1063,7 @@ choice
prompt "Bloblist location in TPL"
Select the location of the bloblist, via various means. Typically
- you should use the same value for SPL as for U-Boot, since they need
+ you should use the same value for TPL as for U-Boot, since they need
to look in the same place. But if BLOBLIST_ALLOC is used, then a
fresh bloblist will be created each time, since there is no shared
address (between phases) for the bloblist.
@@ -1086,6 +1086,35 @@ endchoice
endif # TPL_BLOBLIST
+ prompt "Bloblist location in VPL"
+ Select the location of the bloblist, via various means. Typically
+ you should use the same value for VPL as for U-Boot, since they need
+ to look in the same place. But if BLOBLIST_ALLOC is used, then a
+ fresh bloblist will be created each time, since there is no shared
+ address (between phases) for the bloblist.
+ bool "Place bloblist at a fixed address in memory"
+ Select this to used a fixed memory address for the bloblist. If the
+ bloblist exists at this address from a previous phase, it used as is.
+ If not it is created at this address in VPL.
+ bool "Allocate bloblist"
+ Allocate the bloblist using malloc(). This avoids the need to
+ specify a fixed address on systems where this is unknown or can
+ change at runtime.
+endif # VPL_BLOBLIST
More information about the U-Boot