Commit 4da0b2b7 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Ingo Molnar

efi/libstub: Re-enable command line initrd loading for x86

Commit:

  cf6b8366 ("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: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Cc: linux-efi@vger.kernel.org
parent 4353dd3b
...@@ -125,8 +125,8 @@ config EFI_ARMSTUB_DTB_LOADER ...@@ -125,8 +125,8 @@ config EFI_ARMSTUB_DTB_LOADER
this option is necessary. this option is necessary.
config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
bool "Enable the command line initrd loader" bool "Enable the command line initrd loader" if !X86
depends on EFI_GENERIC_STUB depends on EFI_STUB && (EFI_GENERIC_STUB || X86)
default y default y
help help
Select this config option to add support for the initrd= command Select this config option to add support for the initrd= command
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment