1menuconfig FWU_MULTI_BANK_UPDATE
2	bool "Enable FWU Multi Bank Update Feature"
3	depends on EFI_CAPSULE_ON_DISK
4	select PARTITION_TYPE_GUID
5	select FWU_MDATA
6	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
13if FWU_MULTI_BANK_UPDATE
14
15config FWU_NUM_BANKS
16	int "Number of Banks defined by the platform"
17	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"
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	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.
33
34config 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	depends on !FWU_MDATA_V1
44	help
45	  The FWU specification supports two versions of the
46	  metadata structure. This option enables support for FWU
47	  Metadata version 2 access.
48
49endif
50