blob: d35247d0e5d4e7ce0e036b57ff527a9a3ea2f9e8 [file] [log] [blame]
Simon Glass4cc40f62023-09-14 10:55:43 -06001menuconfig FWU_MULTI_BANK_UPDATE
Sughosh Ganu86794052022-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 Schuchardt227d3b32023-05-07 08:39:34 +02005 select FWU_MDATA
Sughosh Ganu86794052022-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 Glass4cc40f62023-09-14 10:55:43 -060013if FWU_MULTI_BANK_UPDATE
14
Sughosh Ganu86794052022-10-21 18:16:03 +053015config FWU_NUM_BANKS
16 int "Number of Banks defined by the platform"
Sughosh Ganu86794052022-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 Ganu86794052022-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 Ganu86794052022-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 Glass4cc40f62023-09-14 10:55:43 -060033
34endif