aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-06-20 11:35:37 +0200
committerArd Biesheuvel <ardb@kernel.org>2022-06-20 12:43:25 +0200
commit416581e486798cbe3e2b3306faee7d7e9bf3c3d4 (patch)
tree830bf8cc03d2ac8af0a47732de208787b3913d75 /drivers/firmware/efi/Kconfig
parentefi: avoid efivars layer when loading SSDTs from variables (diff)
downloadlinux-dev-416581e486798cbe3e2b3306faee7d7e9bf3c3d4.tar.xz
linux-dev-416581e486798cbe3e2b3306faee7d7e9bf3c3d4.zip
efi: efibc: avoid efivar API for setting variables
Avoid abusing the efivar API by passing locally instantiated efivar_entry structs into efivar_set_entry_safe(), rather than using the API as intended. Instead, just call efi.set_variable() directly. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/Kconfig')
-rw-r--r--drivers/firmware/efi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig
index 7aa4717cdcac..6fd4414c4836 100644
--- a/drivers/firmware/efi/Kconfig
+++ b/drivers/firmware/efi/Kconfig
@@ -145,6 +145,7 @@ config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
config EFI_BOOTLOADER_CONTROL
tristate "EFI Bootloader Control"
+ select UCS2_STRING
default n
help
This module installs a reboot hook, such that if reboot() is