Debian Codegraph @

src/drivers/efi/Kconfig

raw
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 config DRIVERS_EFI_VARIABLE_STORE
4 bool "Include EFI variable store driver"
5 select UDK_2017_BINDING if !PLATFORM_USES_FSP2_0
6 help
7 Adds a driver that is able to read and write an EFI formatted
8 VariableStore as used by tianocore.
9
10 config DRIVERS_EFI_FW_INFO
11 bool "Expose firmware version in a EFI-friendly form"
12 select UDK_2017_BINDING if !PLATFORM_USES_FSP2_0
13 help
14 Adds firmware version information to coreboot table in a form similar to
15 EFI System Resource Table (ESRT) that can be used for firmware updates.
16
17 config DRIVERS_EFI_MAIN_FW_GUID
18 string "GUID of the firmware"
19 default "00112233-4455-6677-8899-aabbccddeeff"
20 depends on DRIVERS_EFI_FW_INFO
21 help
22 GUID used to identify firmware kind for the purposes of updates.
23
24 config DRIVERS_EFI_MAIN_FW_VERSION
25 hex "Version of the firmware"
26 range 0x00000000 0xFFFFFFFF
27 default 0x00000000
28 depends on DRIVERS_EFI_FW_INFO
29 help
30 32-bit unsigned integer representing current firmware's version.
31
32 config DRIVERS_EFI_MAIN_FW_LSV
33 hex "Lowest supported firmware version"
34 range 0x00000000 0xFFFFFFFF
35 default 0x00000000
36 depends on DRIVERS_EFI_FW_INFO
37 help
38 32-bit unsigned integer representing lowest firmware version number
39 that is allowed to replace the current one. Can be used to forbid
40 bugged versions.
41
42 config DRIVERS_EFI_UPDATE_CAPSULES
43 bool "Include EFI update capsules driver"
44 depends on DRIVERS_EFI_VARIABLE_STORE && SMMSTORE_V2 && DRIVERS_EFI_FW_INFO
45 help
46 Adds a driver that is able to parse CapsuleUpdateData* EFI variables
47 to discover firmware updates and expose them for tianocore thorough
48 CBMEM for execution. tianocore is responsible for erasing the variables.