mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
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>
This commit is contained in:
@@ -23,7 +23,7 @@ makes it possible for the kernel to support additional features:
|
||||
For actually enabling [U]EFI support, enable:
|
||||
|
||||
- CONFIG_EFI=y
|
||||
- CONFIG_EFI_VARS=y or m
|
||||
- CONFIG_EFIVAR_FS=y or m
|
||||
|
||||
The implementation depends on receiving information about the UEFI environment
|
||||
in a Flattened Device Tree (FDT) - so is only available with CONFIG_OF.
|
||||
|
||||
Reference in New Issue
Block a user