Kconfig: fit: add configure for rollback-index protection

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I15caa12aa15b48e805f8aa42411bd258a3a66f7f
This commit is contained in:
Joseph Chen 2020-04-02 16:34:24 +08:00 committed by Jianhong Chen
parent f8ca9d164a
commit 83c56efb3c
1 changed files with 12 additions and 0 deletions

12
Kconfig
View File

@ -222,6 +222,12 @@ config FIT_SIGNATURE
format support in this case, enable it using
CONFIG_IMAGE_FORMAT_LEGACY.
config FIT_ROLLBACK_PROTECT
bool "Enable rollback-index protection for FIT image"
depends on FIT_SIGNATURE
help
Enable rollback-index protection for FIT image
config FIT_VERBOSE
bool "Show verbose messages when FIT images fail"
help
@ -272,6 +278,12 @@ config SPL_FIT_SIGNATURE
select SPL_FIT
select SPL_RSA
config SPL_FIT_ROLLBACK_PROTECT
bool "Enable SPL rollback-index protection for FIT image"
depends on SPL_FIT_SIGNATURE
help
Enable SPL rollback-index protection for FIT image
config SPL_LOAD_FIT
bool "Enable SPL loading U-Boot as a FIT"
select SPL_FIT