Skip to content

Commit b3d8c6e

Browse files
committed
add EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
1 parent af203b7 commit b3d8c6e

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

drivers/firmware/efi/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,18 @@ config EFI_ARMSTUB_DTB_LOADER
106106
functionality for bootloaders that do not have such support
107107
this option is necessary.
108108

109+
config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
110+
bool "Enable the command line initrd loader" if !X86
111+
depends on EFI_STUB && (EFI_GENERIC_STUB || X86)
112+
default y if X86
113+
depends on !RISCV
114+
help
115+
Select this config option to add support for the initrd= command
116+
line parameter, allowing an initrd that resides on the same volume
117+
as the kernel image to be loaded into memory.
118+
119+
This method is deprecated.
120+
109121
config EFI_BOOTLOADER_CONTROL
110122
tristate "EFI Bootloader Control"
111123
select UCS2_STRING

0 commit comments

Comments
 (0)