Kconfig (963fabf37f6a94214a823df0a785e653cb8ad6ea) Kconfig (d7071743db31b4f6898b1c742e4b451bb4bc4b02)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "EFI (Extensible Firmware Interface) Support"
3 depends on EFI
4
5config EFI_VARS
6 tristate "EFI Variable Support via sysfs"
1# SPDX-License-Identifier: GPL-2.0-only
2menu "EFI (Extensible Firmware Interface) Support"
3 depends on EFI
4
5config EFI_VARS
6 tristate "EFI Variable Support via sysfs"
7 depends on EFI && (X86 || IA64)
7 depends on EFI
8 default n
9 help
10 If you say Y here, you are able to get EFI (Extensible Firmware
11 Interface) variable information via sysfs. You may read,
12 write, create, and destroy EFI variables through this interface.
8 default n
9 help
10 If you say Y here, you are able to get EFI (Extensible Firmware
11 Interface) variable information via sysfs. You may read,
12 write, create, and destroy EFI variables through this interface.
13 Note that this driver is only retained for compatibility with
14 legacy users: new users should use the efivarfs filesystem
15 instead.
16
13
14 Note that using this driver in concert with efibootmgr requires
15 at least test release version 0.5.0-test3 or later, which is
16 available from:
17 <http://linux.dell.com/efibootmgr/testing/efibootmgr-0.5.0-test3.tar.gz>
18
19 Subsequent efibootmgr releases may be found at:
20 <http://github.com/vathpela/efibootmgr>
21
17config EFI_ESRT
18 bool
19 depends on EFI && !IA64
20 default y
21
22config EFI_VARS_PSTORE
23 tristate "Register efivars backend for pstore"
22config EFI_ESRT
23 bool
24 depends on EFI && !IA64
25 default y
26
27config EFI_VARS_PSTORE
28 tristate "Register efivars backend for pstore"
24 depends on PSTORE
29 depends on EFI_VARS && PSTORE
25 default y
26 help
27 Say Y here to enable use efivars as a backend to pstore. This
28 will allow writing console messages, crash dumps, or anything
29 else supported by pstore to EFI variables.
30
31config EFI_VARS_PSTORE_DEFAULT_DISABLE
32 bool "Disable using efivars as a pstore backend by default"

--- 68 unchanged lines hidden (view full) ---

101config EFI_RUNTIME_WRAPPERS
102 bool
103
104config EFI_GENERIC_STUB
105 bool
106
107config EFI_ARMSTUB_DTB_LOADER
108 bool "Enable the DTB loader"
30 default y
31 help
32 Say Y here to enable use efivars as a backend to pstore. This
33 will allow writing console messages, crash dumps, or anything
34 else supported by pstore to EFI variables.
35
36config EFI_VARS_PSTORE_DEFAULT_DISABLE
37 bool "Disable using efivars as a pstore backend by default"

--- 68 unchanged lines hidden (view full) ---

106config EFI_RUNTIME_WRAPPERS
107 bool
108
109config EFI_GENERIC_STUB
110 bool
111
112config EFI_ARMSTUB_DTB_LOADER
113 bool "Enable the DTB loader"
109 depends on EFI_GENERIC_STUB
114 depends on EFI_GENERIC_STUB && !RISCV
110 default y
111 help
112 Select this config option to add support for the dtb= command
113 line parameter, allowing a device tree blob to be loaded into
114 memory from the EFI System Partition by the stub.
115
116 If the device tree is provided by the platform or by
117 the bootloader this option may not be needed.
118 But, for various development reasons and to maintain existing
119 functionality for bootloaders that do not have such support
120 this option is necessary.
121
122config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
123 bool "Enable the command line initrd loader" if !X86
124 depends on EFI_STUB && (EFI_GENERIC_STUB || X86)
125 default y
115 default y
116 help
117 Select this config option to add support for the dtb= command
118 line parameter, allowing a device tree blob to be loaded into
119 memory from the EFI System Partition by the stub.
120
121 If the device tree is provided by the platform or by
122 the bootloader this option may not be needed.
123 But, for various development reasons and to maintain existing
124 functionality for bootloaders that do not have such support
125 this option is necessary.
126
127config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
128 bool "Enable the command line initrd loader" if !X86
129 depends on EFI_STUB && (EFI_GENERIC_STUB || X86)
130 default y
131 depends on !RISCV
126 help
127 Select this config option to add support for the initrd= command
128 line parameter, allowing an initrd that resides on the same volume
129 as the kernel image to be loaded into memory.
130
131 This method is deprecated.
132
133config EFI_BOOTLOADER_CONTROL
134 tristate "EFI Bootloader Control"
132 help
133 Select this config option to add support for the initrd= command
134 line parameter, allowing an initrd that resides on the same volume
135 as the kernel image to be loaded into memory.
136
137 This method is deprecated.
138
139config EFI_BOOTLOADER_CONTROL
140 tristate "EFI Bootloader Control"
141 depends on EFI_VARS
135 default n
136 help
137 This module installs a reboot hook, such that if reboot() is
138 invoked with a string argument NNN, "NNN" is copied to the
139 "LoaderEntryOneShot" EFI variable, to be read by the
140 bootloader. If the string matches one of the boot labels
141 defined in its configuration, the bootloader will boot once
142 to that label. The "LoaderEntryRebootReason" EFI variable is

--- 127 unchanged lines hidden (view full) ---

270config EFI_EARLYCON
271 def_bool y
272 depends on SERIAL_EARLYCON && !ARM && !IA64
273 select FONT_SUPPORT
274 select ARCH_USE_MEMREMAP_PROT
275
276config EFI_CUSTOM_SSDT_OVERLAYS
277 bool "Load custom ACPI SSDT overlay from an EFI variable"
142 default n
143 help
144 This module installs a reboot hook, such that if reboot() is
145 invoked with a string argument NNN, "NNN" is copied to the
146 "LoaderEntryOneShot" EFI variable, to be read by the
147 bootloader. If the string matches one of the boot labels
148 defined in its configuration, the bootloader will boot once
149 to that label. The "LoaderEntryRebootReason" EFI variable is

--- 127 unchanged lines hidden (view full) ---

277config EFI_EARLYCON
278 def_bool y
279 depends on SERIAL_EARLYCON && !ARM && !IA64
280 select FONT_SUPPORT
281 select ARCH_USE_MEMREMAP_PROT
282
283config EFI_CUSTOM_SSDT_OVERLAYS
284 bool "Load custom ACPI SSDT overlay from an EFI variable"
278 depends on EFI && ACPI
285 depends on EFI_VARS && ACPI
279 default ACPI_TABLE_UPGRADE
280 help
281 Allow loading of an ACPI SSDT overlay from an EFI variable specified
282 by a kernel command line option.
283
284 See Documentation/admin-guide/acpi/ssdt-overlays.rst for more
285 information.
286 default ACPI_TABLE_UPGRADE
287 help
288 Allow loading of an ACPI SSDT overlay from an EFI variable specified
289 by a kernel command line option.
290
291 See Documentation/admin-guide/acpi/ssdt-overlays.rst for more
292 information.