boards: mps3: Add support for corstone300/an552

What is changed?
 - Added a new mps3 board an552 for the soc corstone300.
   The qualifier to build/run application with board mps3/an552 is
   `mps3/corstone300/an552` for secure and
   `mps3/corstone300/an552/ns` for non-secure.
 - Added FVP variant to enable FVP testing with corstone300
   and it uses the ARM FVP `FVP_Corstone_SSE-300_Ethos-U55`.
   The qualifier to build/run application with FVP is
   `mps3/corstone300/fvp` for secure and
   `mps3/corstone300/fvp/ns` for non-secure.
 - Note: the qualifier to build/run application with board mps3/an547
   is now changed to
   `mps3/corstone300/an547` for secure and
   `mps3/corstone300/an547/ns` for non-secure.

How is it changed?
 - Moved common code from mps3/an547 to corstone300.
 - Renamed soc for an547 to corstone300 and added
   a new soc corstone300/an552.

Why do we need this change?
 - This enables FVP support and testing for corstone300.
 - SOC/qualifier for mps3/an547 was renamed to reduce code redundancy
 - A separate FVP variant was added for AN552 because, the TFM board
   used for non-secure variant differs for FPGA and FVP.
   TFM board `arm/mps3/corstone300/fvp` should be used when testing
   AN552 with FVP and `arm/mps3/corstone300/an552` should be used when
   testing with AN552 FPGA.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
This commit is contained in:
Sudan Landge 2024-09-16 21:46:17 +01:00 committed by David Leach
commit 3092d96e5b
57 changed files with 959 additions and 312 deletions

View file

@ -10,7 +10,7 @@ tests:
- qemu_cortex_m3
- mps2/an385
- mps2/an521/cpu0
- mps3/an547
- mps3/corstone300/an547
- nrf52840dk/nrf52840
- nrf9160dk/nrf9160
- nrf51dk/nrf51822

View file

@ -9,7 +9,7 @@ tests:
arch.arm.swap.tz:
# NOTE: this platform disables FPU access in TFM.
platform_exclude:
- mps3/an547/ns
- mps3/corstone300/an547/ns
- nucleo_l552ze_q/stm32l552xx/ns
integration_platforms:
- mps2/an521/cpu0/ns
@ -18,7 +18,7 @@ tests:
- CONFIG_ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS=n
# NOTE: this platform disables FPU access in TFM.
platform_exclude:
- mps3/an547/ns
- mps3/corstone300/an547/ns
- nucleo_l552ze_q/stm32l552xx/ns
integration_platforms:
- mps2/an521/cpu0/ns