blob: 51b7fbbefd379e06dd5ba7355680c9b89f8b9599 [file] [log] [blame]
Simon Glass19fc4da2023-09-14 10:55:43 -06001menuconfig FWU_MULTI_BANK_UPDATE
Sughosh Ganu1cadae22022-10-21 18:16:03 +05302 bool "Enable FWU Multi Bank Update Feature"
3 depends on EFI_CAPSULE_ON_DISK
4 select PARTITION_TYPE_GUID
Heinrich Schuchardt3f7120d2023-05-07 08:39:34 +02005 select FWU_MDATA
Sughosh Ganu1cadae22022-10-21 18:16:03 +05306 imply EFI_CAPSULE_ON_DISK_EARLY
7 select EVENT
8 help
9 Feature for updating firmware images on platforms having
10 multiple banks(copies) of the firmware images. One of the
11 bank is selected for updating all the firmware components
12
Simon Glass19fc4da2023-09-14 10:55:43 -060013if FWU_MULTI_BANK_UPDATE
14
Sughosh Ganu1cadae22022-10-21 18:16:03 +053015config FWU_NUM_BANKS
16 int "Number of Banks defined by the platform"
Sughosh Ganu1cadae22022-10-21 18:16:03 +053017 help
18 Define the number of banks of firmware images on a platform
19
20config FWU_NUM_IMAGES_PER_BANK
21 int "Number of firmware images per bank"
Sughosh Ganu1cadae22022-10-21 18:16:03 +053022 help
23 Define the number of firmware images per bank. This value
24 should be the same for all the banks.
25
26config FWU_TRIAL_STATE_CNT
27 int "Number of times system boots in Trial State"
Sughosh Ganu1cadae22022-10-21 18:16:03 +053028 default 3
29 help
30 With FWU Multi Bank Update feature enabled, number of times
31 the platform is allowed to boot in Trial State after an
32 update.
Simon Glass19fc4da2023-09-14 10:55:43 -060033
Sughosh Ganu27f830b2024-03-22 16:27:23 +053034config FWU_MDATA_V1
35 bool "Enable support FWU Metadata version 1"
36 help
37 The FWU specification supports two versions of the
38 metadata structure. This option enables support for FWU
39 Metadata version 1 access.
40
41config FWU_MDATA_V2
42 bool "Enable support FWU Metadata version 2"
43 help
44 The FWU specification supports two versions of the
45 metadata structure. This option enables support for FWU
46 Metadata version 2 access.
47
Simon Glass19fc4da2023-09-14 10:55:43 -060048endif