blob: 71f34793d9261e5fa6ca7c7cb5b6a39ef6d8c698 [file] [log] [blame]
Sughosh Ganu1cadae22022-10-21 18:16:03 +05301config FWU_MULTI_BANK_UPDATE
2 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
13config FWU_NUM_BANKS
14 int "Number of Banks defined by the platform"
15 depends on FWU_MULTI_BANK_UPDATE
16 help
17 Define the number of banks of firmware images on a platform
18
19config FWU_NUM_IMAGES_PER_BANK
20 int "Number of firmware images per bank"
21 depends on FWU_MULTI_BANK_UPDATE
22 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"
28 depends on FWU_MULTI_BANK_UPDATE
29 default 3
30 help
31 With FWU Multi Bank Update feature enabled, number of times
32 the platform is allowed to boot in Trial State after an
33 update.