From 6cd4acfb247cc86c8d90c260d52b372a43c26cdd Mon Sep 17 00:00:00 2001 From: Joakim Andersson Date: Wed, 2 Feb 2022 16:56:11 +0100 Subject: [PATCH] [nrf fromlist] secure_fw: partitions: Make ITS a weak dependency for crypto Internal Trusted Storage is listed as a dependency for the crypto partition. However if only the RNG or HASH modules are needed from the crypto partition then ITS is not required. Excluding ITS partition provides a smaller TF-M image. Use-case for this is to fit TF-M within 32K on the nrf9160 DK in cases where only RNG is needed from crypto. Upstream PR: https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/13772 Change-Id: Ibb471111f2fbdb3414cff2c7e05331cdcdbc07e1 Signed-off-by: Joakim Andersson (cherry picked from commit c64fb5932a239e2f792b6091f29a2bb395d40ba1) --- secure_fw/partitions/crypto/tfm_crypto.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secure_fw/partitions/crypto/tfm_crypto.yaml b/secure_fw/partitions/crypto/tfm_crypto.yaml index 980849a03..43e301fef 100644 --- a/secure_fw/partitions/crypto/tfm_crypto.yaml +++ b/secure_fw/partitions/crypto/tfm_crypto.yaml @@ -481,7 +481,7 @@ "version_policy": "STRICT" }, ], - "dependencies": [ + "weak_dependencies": [ "TFM_INTERNAL_TRUSTED_STORAGE_SERVICE" ] }