From 83c56efb3c652b94edaa1a30ad35df8ce0abad8e Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Thu, 2 Apr 2020 16:34:24 +0800 Subject: [PATCH] Kconfig: fit: add configure for rollback-index protection Signed-off-by: Joseph Chen Change-Id: I15caa12aa15b48e805f8aa42411bd258a3a66f7f --- Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Kconfig b/Kconfig index c5dd4ea113..d8d75067ab 100644 --- a/Kconfig +++ b/Kconfig @@ -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