tfm: Add configuration for BL2 not supported

Add configuration for BL2 not supported. In some configurations
BL2 will not be supported. Provide a way to deselect BL2 support.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2022-03-18 15:25:37 +01:00 committed by Carles Cufí
parent ba2354a277
commit dcaf8dab14

View file

@ -167,8 +167,15 @@ config TFM_ITS_MAX_ASSET_SIZE
Maximum size (in bytes) of a single asset to be stored in Internal Trusted
Storage (ITS).
config TFM_BL2_NOT_SUPPORTED
bool
help
Hidden option to mark the BL2, the MCUBoot included in TF-M, as not supported.
Platforms that don't use BL2 should select this option.
config TFM_BL2
bool "Add MCUboot to TFM"
depends on !TFM_BL2_NOT_SUPPORTED
default y
help
TFM is designed to run with MCUboot in a certain configuration.