提交 6edcf9dc 编写于 作者: G Geert Uytterhoeven 提交者: Ard Biesheuvel

efi/libstub: EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER should not default to yes

EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER is deprecated, so it should not
be enabled by default.

In light of commit 4da0b2b7 ("efi/libstub: Re-enable command
line initrd loading for x86"), keep the default for X86.

Fixes: cf6b8366 ("efi/libstub: Make initrd file loader configurable")
Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20201028153402.1736103-1-geert+renesas@glider.beSigned-off-by: NArd Biesheuvel <ardb@kernel.org>
上级 688eb282
...@@ -122,7 +122,7 @@ config EFI_ARMSTUB_DTB_LOADER ...@@ -122,7 +122,7 @@ config EFI_ARMSTUB_DTB_LOADER
config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
bool "Enable the command line initrd loader" if !X86 bool "Enable the command line initrd loader" if !X86
depends on EFI_STUB && (EFI_GENERIC_STUB || X86) depends on EFI_STUB && (EFI_GENERIC_STUB || X86)
default y default y if X86
depends on !RISCV depends on !RISCV
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册