efi_loader: make device path to text protocol customizable
[platform/kernel/u-boot.git] / lib / efi_loader / Kconfig
index 03b0827..6501ee5 100644 (file)
@@ -1,5 +1,5 @@
 config EFI_LOADER
-       bool "Support running EFI Applications in U-Boot"
+       bool "Support running UEFI applications"
        depends on (ARM || X86 || RISCV || SANDBOX) && OF_LIBFDT
        # We need EFI_STUB_64BIT to be set on x86_64 with EFI_STUB
        depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT
@@ -11,13 +11,20 @@ config EFI_LOADER
        select REGEX
        imply CFB_CONSOLE_ANSI
        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
-         interfaces to a loaded EFI application, enabling it to reuse U-Boot's
-         device drivers.
+         Select this option if you want to run UEFI applications (like GNU
+         GRUB or iPXE) on top of U-Boot. If this option is enabled, U-Boot
+         will expose the UEFI API to a loaded application, enabling it to
+         reuse U-Boot's device drivers.
 
 if EFI_LOADER
 
+config EFI_DEVICE_PATH_TO_TEXT
+       bool "Device path to text protocol"
+       default y
+       help
+         The device path to text protocol converts device nodes and paths to
+         human readable strings.
+
 config EFI_LOADER_HII
        bool "HII protocols"
        default y
@@ -29,6 +36,15 @@ config EFI_LOADER_HII
          U-Boot implements enough of its features to be able to run the UEFI
          Shell, but not more than that.
 
+config EFI_UNICODE_COLLATION_PROTOCOL
+       bool "Unicode collation protocol"
+       default y
+       help
+         The Unicode collation protocol is used for lexical comparisons. It is
+         required to run the UEFI shell.
+
+if EFI_UNICODE_COLLATION_PROTOCOL
+
 config EFI_UNICODE_CAPITALIZATION
        bool "Support Unicode capitalization"
        default y
@@ -38,6 +54,8 @@ config EFI_UNICODE_CAPITALIZATION
          set, only the the correct handling of the letters of the codepage
          used by the FAT file system is ensured.
 
+endif
+
 config EFI_LOADER_BOUNCE_BUFFER
        bool "EFI Applications use bounce buffers for DMA operations"
        depends on ARM64