mbed-os/cmsis/TARGET_CORTEX_M
Devaraj Ranganna 76e911c5ef psa: Replace Mbed PSA with TF-M
Add TF-M to Mbed OS, replacing the previous PSA implementation for
TF-M-capable targets. This commit adds files imported from TF-M, without
modification. The version of TF-M imported can be found in
`features/FEATURE_PSA/TARGET_TFM/VERSION.txt`.

These changes switch to TF-M as the sole PSA implementation for v8-M and
dual core targets, with TF-M running on the secure side and Mbed OS
running on the non-secure side. Single core v7-M targets will continue
to have PSA implemented via PSA emulation, implemented by Mbed OS.

Move or remove many PSA-implementing files, as PSA will be provided by
TF-M on non-single-v7-M targets. Delete any files that are not relevant
for PSA emulation mode.
 - Remove imported TF-M SPM
 - Remove Mbed SPM and tests
 - Remove Mbed-implemented PSA services and tests
 - Remove PSA_SRV_IMPL, PSA_SRV_IPC, PSA_SRV_EMUL and NSPE.
 - Replace PSA_SRV_EMUL and PSA_SRV_IMPL with MBED_PSA_SRV
 - Remove any files autogenerated by
   "tools/psa/generate_partition_code.py", which no longer exists.

Add new feature `PSA` to support PSA in Mbed OS.

Move the Mbed OS implementation of PSA services for v7-M targets (which
employ PSA emulation, and don't yet use TF-M) to
features/FEATURE_PSA/TARGET_MBED_PSA_SRV. Update the `requires`
attribute in TESTS/configs/baremetal.json to avoid breaking baremetal
testing builds.

Update .astyleignore to match new directory structure

Update Mbed TLS importer to place files into FEATURE_PSA

Create the following generic PSA targets:

* `PSA_Target` (Root level PSA generic target)
* `PSA_V7_M` (Single v7-M PSA generic target)
* `PSA_DUAL_CORE` (Dual-core PSA generic target)
* `PSA_V8_M` (v8-M PSA generic target)

Flatten MUSCA_NS and private MUSCA targets into public MUSCA targets.

Move mcuboot.bin to flat location (removing prebuilt folder)

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-06-18 12:16:20 +01:00
..
arm_math.h CMSIS/RTX: Reintroduce arm_math.h 2020-05-11 11:17:57 +01:00
cachel1_armv7.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
cmsis_armcc.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
cmsis_armclang.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
cmsis_armclang_ltm.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
cmsis_compiler.h [CMSIS_5]: Updated to b5f0603d6 2020-05-11 09:47:34 +01:00
cmsis_gcc.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
cmsis_iccarm.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
cmsis_version.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_armv8mbl.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_armv8mml.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_armv81mml.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_cm0.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_cm0plus.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_cm1.h [CMSIS_5]: Updated to b5f0603d6 2020-05-11 09:47:34 +01:00
core_cm3.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_cm4.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_cm7.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_cm23.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_cm33.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_cm35p.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_cm55.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_sc000.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
core_sc300.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
mbed_tz_context.c psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
mpu_armv7.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
mpu_armv8.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
pmu_armv8.h [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
tz_context.h [CMSIS_5]: Updated to 49ac527a 2018-05-14 12:18:20 +01:00