Hi,

 

A platform binding HAL API “tfm_hal_bind_partition()” is being introduced to TF-M.

 

This API lets the platform records partition information, and applies specific settings. An encoded handle is returned to SPM, so that SPM can use the handle to decide when and how to update isolation boundaries. The “tfm_hal_update_boundaries()” API is updated accordingly.

Check details in the patch.

 

Implementation on AN521 is here:

https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/11036

 

 

Any feedback and comments are welcome :)

 

Thanks,

MIngyang