summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-22 09:34:11 -0700
committerTom Rini <trini@konsulko.com>2023-03-02 17:45:58 -0500
commit3b510807f59d6602df5b3de3ac5c2f8f6e1bd265 (patch)
tree035ae4ec4a1e6fe8a6af778ce0702fa8ae358b2f /disk
parentc7d53f027b6c07db951250e64277ca11db546ba0 (diff)
downloadu-boot-3b510807f59d6602df5b3de3ac5c2f8f6e1bd265.tar.gz
u-boot-3b510807f59d6602df5b3de3ac5c2f8f6e1bd265.tar.bz2
u-boot-3b510807f59d6602df5b3de3ac5c2f8f6e1bd265.zip
lib: Add an SPL config for LIB_UUID
This is selected by PARTITION_UUIDS which has a separate option for SPL. Add an SPL option for LIB_UUID also, so that we can keep them consistent. Also add one for PARTITION_TYPE_GUID to avoid a build error in part_efi.c which wants to call a uuid function in SPL. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk')
-rw-r--r--disk/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/disk/Kconfig b/disk/Kconfig
index c9b9dbaf1a..817b7c8c76 100644
--- a/disk/Kconfig
+++ b/disk/Kconfig
@@ -149,6 +149,7 @@ config SPL_PARTITION_UUIDS
bool "Enable support of UUID for partition in SPL"
depends on SPL_PARTITIONS
default y if SPL_EFI_PARTITION
+ select SPL_LIB_UUID
config PARTITION_TYPE_GUID
bool "Enable support of GUID for partition type"
@@ -157,4 +158,11 @@ config PARTITION_TYPE_GUID
Activate the configuration of GUID type
for EFI partition
+config SPL_PARTITION_TYPE_GUID
+ bool "Enable support of GUID for partition type (SPL)"
+ depends on SPL_EFI_PARTITION
+ help
+ Activate the configuration of GUID type
+ for EFI partition
+
endmenu