@@ -79,9 +79,3 @@ config SYS_FDT_LOAD_ADDR
See `doc/arch/sandbox.rst` for more information.
endmenu
-
-config FWU_NUM_BANKS
- default 2
-
-config FWU_NUM_IMAGES_PER_BANK
- default 2
@@ -109,7 +109,7 @@ void fwu_plat_get_bootidx(uint *boot_idx)
*/
ret = fwu_get_active_index(boot_idx);
if (ret < 0) {
- *boot_idx = CONFIG_FWU_NUM_BANKS;
+ *boot_idx = 0;
log_err("corstone1000: failed to read active index\n");
}
}
@@ -12,17 +12,6 @@ menuconfig FWU_MULTI_BANK_UPDATE
if FWU_MULTI_BANK_UPDATE
-config FWU_NUM_BANKS
- int "Number of Banks defined by the platform"
- help
- Define the number of banks of firmware images on a platform
-
-config FWU_NUM_IMAGES_PER_BANK
- int "Number of firmware images per bank"
- help
- Define the number of firmware images per bank. This value
- should be the same for all the banks.
-
config FWU_TRIAL_STATE_CNT
int "Number of times system boots in Trial State"
default 3
With the migration to the FWU metadata version 2 structure, the values of number of banks and number of images per bank are now obtained from the metadata at runtime. Remove the now superfluous config symbols. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> --- Changes since V1: None arch/sandbox/Kconfig | 6 ------ board/armltd/corstone1000/corstone1000.c | 2 +- lib/fwu_updates/Kconfig | 11 ----------- 3 files changed, 1 insertion(+), 18 deletions(-)