Merge tag 'efi-next-for-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi
[platform/kernel/linux-rpi.git] / arch / loongarch / Kconfig
index 551dd99..cfd9760 100644 (file)
@@ -105,8 +105,6 @@ config LOONGARCH
        select MODULES_USE_ELF_RELA if MODULES
        select NEED_PER_CPU_EMBED_FIRST_CHUNK
        select NEED_PER_CPU_PAGE_FIRST_CHUNK
-       select OF
-       select OF_EARLY_FLATTREE
        select PCI
        select PCI_DOMAINS_GENERIC
        select PCI_ECAM if ACPI
@@ -313,12 +311,20 @@ config DMI
 config EFI
        bool "EFI runtime service support"
        select UCS2_STRING
-       select EFI_PARAMS_FROM_FDT
        select EFI_RUNTIME_WRAPPERS
        help
          This enables the kernel to use EFI runtime services that are
          available (such as the EFI variable services).
 
+config EFI_STUB
+       bool "EFI boot stub support"
+       default y
+       depends on EFI
+       select EFI_GENERIC_STUB
+       help
+         This kernel feature allows the kernel to be loaded directly by
+         EFI firmware without the use of a bootloader.
+
 config SMP
        bool "Multi-Processing support"
        help