]> git.baikalelectronics.ru Git - kernel.git/commit
efi: efivars: limit availability to X86 builds
authorArd Biesheuvel <ardb@kernel.org>
Wed, 23 Sep 2020 08:20:10 +0000 (10:20 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 29 Sep 2020 17:40:57 +0000 (19:40 +0200)
commit7f28af275122d822afac27fc378614fe18fca8ed
tree580134c0c88daa1bc100ac9fd19810900130a0e7
parentb22fcc3ccde19666314ddc9dfb1e17992ed9fcf3
efi: efivars: limit availability to X86 builds

CONFIG_EFI_VARS controls the code that exposes EFI variables via
sysfs entries, which was deprecated before support for non-Intel
architectures was added to EFI. So let's limit its availability
to Intel architectures for the time being, and hopefully remove
it entirely in the not too distant future.

While at it, let's remove the module alias so that the module is
no longer loaded automatically.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Documentation/arm/uefi.rst
drivers/firmware/efi/Kconfig
drivers/firmware/efi/efivars.c