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)
commit963fabf37f6a94214a823df0a785e653cb8ad6ea
tree580134c0c88daa1bc100ac9fd19810900130a0e7
parent5ee70cd60652e85e4e8ced99f58f2fcbab405110
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