aboutsummaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-22 09:34:14 -0700
committerTom Rini <trini@konsulko.com>2023-03-03 09:49:02 -0500
commit7ffbb5b65921181774d29e5f3a2b35e01426c414 (patch)
tree4f486f43c1fc0229f8d45f1c00194fe1ec701ed6 /common/Kconfig
parentd5774594974307b5eae0b49928920046db02a5cc (diff)
downloadu-boot-7ffbb5b65921181774d29e5f3a2b35e01426c414.zip
u-boot-7ffbb5b65921181774d29e5f3a2b35e01426c414.tar.gz
u-boot-7ffbb5b65921181774d29e5f3a2b35e01426c414.tar.bz2
Add VPL options for BLOBLIST
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@chromium.org>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig31
1 files changed, 30 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 9b79e5d..5c66fd9 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1062,7 +1062,7 @@ choice
prompt "Bloblist location in TPL"
help
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.
@@ -1085,6 +1085,35 @@ endchoice
endif # TPL_BLOBLIST
+if VPL_BLOBLIST
+
+choice
+ prompt "Bloblist location in VPL"
+ help
+ 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.
+
+config VPL_BLOBLIST_FIXED
+ bool "Place bloblist at a fixed address in memory"
+ help
+ 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.
+
+config VPL_BLOBLIST_ALLOC
+ bool "Allocate bloblist"
+ help
+ 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.
+
+endchoice
+
+endif # VPL_BLOBLIST
+
endmenu
source "common/spl/Kconfig"