soc: arm: mps2: Add support for mps2/an386 soc
Added new mps2 soc an386 to enable testing with ARM FVP. Signed-off-by: Samuel Chee <samche01@arm.com>
This commit is contained in:
parent
8d6d4de79d
commit
bc46e51f09
4 changed files with 22 additions and 0 deletions
|
@ -20,6 +20,11 @@ config SOC_MPS2_AN385
|
|||
select CPU_CORTEX_M3
|
||||
select CPU_HAS_ARM_MPU
|
||||
|
||||
config SOC_MPS2_AN386
|
||||
select CPU_CORTEX_M4
|
||||
select CPU_HAS_ARM_MPU
|
||||
select CPU_HAS_VFP
|
||||
|
||||
config SOC_MPS2_AN521_CPU0
|
||||
select CPU_HAS_ARM_SAU
|
||||
|
||||
|
|
9
soc/arm/mps2/Kconfig.defconfig.an386
Normal file
9
soc/arm/mps2/Kconfig.defconfig.an386
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_MPS2_AN386
|
||||
|
||||
config NUM_IRQS
|
||||
default 32
|
||||
|
||||
endif
|
|
@ -20,6 +20,12 @@ config SOC_MPS2_AN385
|
|||
help
|
||||
ARM Cortex-M3 SMM on V2M-MPS2 (Application Note AN385)
|
||||
|
||||
config SOC_MPS2_AN386
|
||||
bool
|
||||
select SOC_SERIES_MPS2
|
||||
help
|
||||
ARM Cortex-M4 SMM on V2M-MPS2 (Application Note AN386)
|
||||
|
||||
config SOC_MPS2_AN521
|
||||
bool
|
||||
select SOC_SERIES_MPS2
|
||||
|
@ -42,4 +48,5 @@ config SOC_SERIES
|
|||
config SOC
|
||||
default "an383" if SOC_MPS2_AN383
|
||||
default "an385" if SOC_MPS2_AN385
|
||||
default "an386" if SOC_MPS2_AN386
|
||||
default "an521" if SOC_MPS2_AN521
|
||||
|
|
|
@ -5,6 +5,7 @@ family:
|
|||
socs:
|
||||
- name: an383
|
||||
- name: an385
|
||||
- name: an386
|
||||
- name: an521
|
||||
cpuclusters:
|
||||
- name: cpu0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue