summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-02-06 12:14:28 -0600
committerTom Rini <trini@konsulko.com>2018-02-08 19:08:39 -0500
commita451bc27c9afd1be537bb04946fb4cb1b2cf6280 (patch)
treeb433baab4c6c9bd5e07622608cc6ce1121e1096d /lib
parenta5a37567c4f7bd6faf85ef4b720f6efce3e8bbbf (diff)
Convert LIB_UUID to Kconfig
config_fallback.h has some logic that checks a variety of options and selects LIB_UUID if it hasn't already been selected. This will all LIB_UUID in Kconfig and select this option for the list of options to allow us to remove the logic from fallbacks Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig3
-rw-r--r--lib/efi_loader/Kconfig1
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 87db2e396e..5178e8642e 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -18,6 +18,9 @@ config CC_OPTIMIZE_LIBS_FOR_SPEED
config HAVE_PRIVATE_LIBGCC
bool
+config LIB_UUID
+ bool
+
config USE_PRIVATE_LIBGCC
bool "Use private libgcc"
depends on HAVE_PRIVATE_LIBGCC
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 827c267b60..5461833aeb 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -6,6 +6,7 @@ config EFI_LOADER
# We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB
depends on !EFI_STUB || !X86 || X86_64 || EFI_STUB_32BIT
default y
+ select LIB_UUID
help
Select this option if you want to run EFI applications (like grub2)
on top of U-Boot. If this option is enabled, U-Boot will expose EFI