diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-04-21 10:17:35 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-04-23 21:15:06 +0300 |
commit | cf6b83664895a5c7e97710df282e220bd047f0f5 (patch) | |
tree | afece1a6ef522a2a6079a1858d665b86b5bdbc47 /drivers/firmware/efi/Kconfig | |
parent | 2e0eb483c058dd013be8e3d0ec1767be531485a2 (diff) | |
download | linux-cf6b83664895a5c7e97710df282e220bd047f0f5.tar.xz |
efi/libstub: Make initrd file loader configurable
Loading an initrd passed via the kernel command line is deprecated: it
is limited to files that reside in the same volume as the one the kernel
itself was loaded from, and we have more flexible ways to achieve the
same. So make it configurable so new architectures can decide not to
enable it.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/Kconfig')
-rw-r--r-- | drivers/firmware/efi/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig index 2a2b2b96a1dc..4e788dd55b03 100644 --- a/drivers/firmware/efi/Kconfig +++ b/drivers/firmware/efi/Kconfig @@ -124,6 +124,17 @@ config EFI_ARMSTUB_DTB_LOADER functionality for bootloaders that do not have such support this option is necessary. +config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER + bool "Enable the command line initrd loader" + depends on EFI_GENERIC_STUB + default y + help + Select this config option to add support for the initrd= command + line parameter, allowing an initrd that resides on the same volume + as the kernel image to be loaded into memory. + + This method is deprecated. + config EFI_BOOTLOADER_CONTROL tristate "EFI Bootloader Control" depends on EFI_VARS |