mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00
FWU: Avoid showing an unselectable menu option
Use a menuconfig to avoid showing a menu which cannot be selected in many cases. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
31b097a265
commit
4cc40f618a
2 changed files with 5 additions and 8 deletions
|
@ -1118,8 +1118,4 @@ config PHANDLE_CHECK_SEQ
|
|||
|
||||
endmenu
|
||||
|
||||
menu "FWU Multi Bank Updates"
|
||||
|
||||
source lib/fwu_updates/Kconfig
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
config FWU_MULTI_BANK_UPDATE
|
||||
menuconfig FWU_MULTI_BANK_UPDATE
|
||||
bool "Enable FWU Multi Bank Update Feature"
|
||||
depends on EFI_CAPSULE_ON_DISK
|
||||
select PARTITION_TYPE_GUID
|
||||
|
@ -10,24 +10,25 @@ config FWU_MULTI_BANK_UPDATE
|
|||
multiple banks(copies) of the firmware images. One of the
|
||||
bank is selected for updating all the firmware components
|
||||
|
||||
if FWU_MULTI_BANK_UPDATE
|
||||
|
||||
config FWU_NUM_BANKS
|
||||
int "Number of Banks defined by the platform"
|
||||
depends on FWU_MULTI_BANK_UPDATE
|
||||
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"
|
||||
depends on FWU_MULTI_BANK_UPDATE
|
||||
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"
|
||||
depends on FWU_MULTI_BANK_UPDATE
|
||||
default 3
|
||||
help
|
||||
With FWU Multi Bank Update feature enabled, number of times
|
||||
the platform is allowed to boot in Trial State after an
|
||||
update.
|
||||
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue