Hi all,

 

I have pushed for review the new Internal Trusted Storage and Protected Storage HAL designs, as well as an initial implementation for AN521. I will update the change for all other platforms once the design has settled down.

 

It expands the ITS  and PS HALs to cover all flash and filesystem configuration parameters required from the platform. The CMSIS Flash Driver is exposed to abstract the flash device itself.

 

ITS is updated to use the new HALs, with its_flash_info_external.c, its_flash_info_internal.c and its_flash.c removed. The ITS filesystem is updated to take a configuration struct as an initialisation parameter, which is filled using values from the HAL.

 

The gerrit reviews are:

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

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

 

Kind regards,

Jamie