Simon Glass | 19fc4da | 2023-09-14 10:55:43 -0600 | [diff] [blame] | 1 | menuconfig FWU_MULTI_BANK_UPDATE |
Sughosh Ganu | 1cadae2 | 2022-10-21 18:16:03 +0530 | [diff] [blame] | 2 | bool "Enable FWU Multi Bank Update Feature" |
| 3 | depends on EFI_CAPSULE_ON_DISK |
| 4 | select PARTITION_TYPE_GUID |
Heinrich Schuchardt | 3f7120d | 2023-05-07 08:39:34 +0200 | [diff] [blame] | 5 | select FWU_MDATA |
Sughosh Ganu | 1cadae2 | 2022-10-21 18:16:03 +0530 | [diff] [blame] | 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 | |
Simon Glass | 19fc4da | 2023-09-14 10:55:43 -0600 | [diff] [blame] | 13 | if FWU_MULTI_BANK_UPDATE |
| 14 | |
Sughosh Ganu | 1cadae2 | 2022-10-21 18:16:03 +0530 | [diff] [blame] | 15 | config FWU_NUM_BANKS |
| 16 | int "Number of Banks defined by the platform" |
Sughosh Ganu | 1cadae2 | 2022-10-21 18:16:03 +0530 | [diff] [blame] | 17 | help |
| 18 | Define the number of banks of firmware images on a platform |
| 19 | |
| 20 | config FWU_NUM_IMAGES_PER_BANK |
| 21 | int "Number of firmware images per bank" |
Sughosh Ganu | 1cadae2 | 2022-10-21 18:16:03 +0530 | [diff] [blame] | 22 | help |
| 23 | Define the number of firmware images per bank. This value |
| 24 | should be the same for all the banks. |
| 25 | |
| 26 | config FWU_TRIAL_STATE_CNT |
| 27 | int "Number of times system boots in Trial State" |
Sughosh Ganu | 1cadae2 | 2022-10-21 18:16:03 +0530 | [diff] [blame] | 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. |
Simon Glass | 19fc4da | 2023-09-14 10:55:43 -0600 | [diff] [blame] | 33 | |
Sughosh Ganu | 27f830b | 2024-03-22 16:27:23 +0530 | [diff] [blame] | 34 | config 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 | |
| 41 | config 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 Glass | 19fc4da | 2023-09-14 10:55:43 -0600 | [diff] [blame] | 48 | endif |