Skip to content

Commit 4da0b2b

Browse files
ardbiesheuvelIngo Molnar
authored andcommitted
efi/libstub: Re-enable command line initrd loading for x86
Commit: cf6b836 ("efi/libstub: Make initrd file loader configurable") inadvertently disabled support on x86 for loading an initrd passed via the initrd= option on the kernel command line. Add X86 to the newly introduced Kconfig option's title and depends declarations, so it gets enabled by default, as before. Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: [email protected]
1 parent 4353dd3 commit 4da0b2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/firmware/efi/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ config EFI_ARMSTUB_DTB_LOADER
125125
this option is necessary.
126126

127127
config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
128-
bool "Enable the command line initrd loader"
129-
depends on EFI_GENERIC_STUB
128+
bool "Enable the command line initrd loader" if !X86
129+
depends on EFI_STUB && (EFI_GENERIC_STUB || X86)
130130
default y
131131
help
132132
Select this config option to add support for the initrd= command

0 commit comments

Comments
 (0)