efi: libstub: Undeprecate the command line initrd loader
authorArd Biesheuvel <ardb@kernel.org>
Mon, 26 Sep 2022 21:23:04 +0000 (23:23 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 18 Nov 2022 08:14:08 +0000 (09:14 +0100)
commit75e1a2460d79566bf1e43e5a3a7a9039510a82e0
tree50e347b980005b90c9568f81b9e345a24b2232bd
parentf8a31244d73288bd623a0247512f6c0b81844a92
efi: libstub: Undeprecate the command line initrd loader

The initrd= command line loader can be useful for development, but it
was limited to loading files from the same file system as the loaded
kernel (and it didn't work on x86 mixed mode).

As both issues have been fixed, and the initrd= can now be used with
files residing on any simple file system exposed by the EFI firmware,
let's permit it to be enabled on RISC-V and LoongArch, which did not
support it up to this point.

Note that LoadFile2 remains the preferred option, as it is much simpler
to use and implement, but generic loaders (including the UEFI shell) may
not implement this so there, initrd= can now be used as well (if enabled
in the build)

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/Kconfig