]> git.baikalelectronics.ru Git - kernel.git/commit
efi: clean up Kconfig dependencies on CONFIG_EFI
authorArd Biesheuvel <ardb@kernel.org>
Sat, 28 May 2022 09:49:54 +0000 (11:49 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 1 Jun 2022 12:08:13 +0000 (14:08 +0200)
commit5a8718daf054fb85e5aba78106a8ca2a6050bcd9
tree5b6aee9cb2a5e32fcb1624fb7300378630a757c2
parentc4ff238974a5468686f2a58b6e1a89e8aa6c7fbd
efi: clean up Kconfig dependencies on CONFIG_EFI

Geert reports that the new option CONFIG_EFI_DISABLE_RUNTIME is user
visible even when EFI support is disabled, which is unnecessary and
clutters the Kconfig interface.

So let's move this option into the existing Kconfig submenu that already
depends on CONFIG_EFI, and while at it, give some other options the same
treatment.

Also clean up a small wart where the efi/ subdirectory is listed twice.
Let's just list it unconditionally so that both EFI and UEFI_CPER based
pieces will be built independently (the latter only depends on the
former on !X86)

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