Skip to content

Commit

Permalink
[nrf fromlist] secure_fw: partitions: Make ITS a weak dependency for …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
(cherry picked from commit c64fb59)
  • Loading branch information
joerchan authored and mbolivar-nordic committed Feb 11, 2022
1 parent 8ebcf18 commit 6cd4acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secure_fw/partitions/crypto/tfm_crypto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@
"version_policy": "STRICT"
},
],
"dependencies": [
"weak_dependencies": [
"TFM_INTERNAL_TRUSTED_STORAGE_SERVICE"
]
}

0 comments on commit 6cd4acf

Please sign in to comment.