Skip to content

Commit a6e5413

Browse files
author
Nicolas Pitre
committed
soc: arm: fvp_aem: Create unified SOC series structure
Reorganize fvp_aemv8a SOC into unified fvp_aem series with a v8a architecture variants to enable cleaner board target naming. This also sets the stage for upcoming ARMv9-A support. Signed-off-by: Nicolas Pitre <[email protected]>
1 parent c4faca5 commit a6e5413

File tree

9 files changed

+28
-30
lines changed

9 files changed

+28
-30
lines changed

boards/arm/fvp_base_revc_2xaemv8a/Kconfig.fvp_base_revc_2xaemv8a

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
config BOARD_FVP_BASE_REVC_2XAEMV8A
5-
select SOC_SERIES_FVP_AEMV8A
6-
select SOC_FVP_BASE_REVC_2XAEMV8A
5+
select SOC_FVP_V8A

boards/arm/fvp_base_revc_2xaemv8a/board.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ board:
33
full_name: BASE RevC AEMv8A Fixed Virtual Platforms
44
vendor: arm
55
socs:
6-
- name: fvp_base_revc_2xaemv8a
6+
- name: v8a
77
variants:
88
- name: smp
99
variants:
File renamed without changes.
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Copyright (c) 2021 Carlo Caione <[email protected]>
22
# SPDX-License-Identifier: Apache-2.0
33

4-
config SOC_SERIES_FVP_AEMV8A
5-
select ARM64
4+
config SOC_SERIES_FVP_AEM
5+
bool
66
help
7-
Enable support for ARM FVP AEMv8A AArch64 Series
7+
Enable support for ARM FVP AEM (Architectural Envelope Model) Series
88

9-
config SOC_FVP_BASE_REVC_2XAEMV8A
9+
config SOC_FVP_V8A
10+
bool
11+
select ARM64
1012
select CPU_CORTEX_A53
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2021 Carlo Caione <[email protected]>
22
# SPDX-License-Identifier: Apache-2.0
33

4-
if SOC_SERIES_FVP_AEMV8A
4+
if SOC_SERIES_FVP_AEM
55

66
config SYS_CLOCK_HW_CYCLES_PER_SEC
77
default 100000000
@@ -10,8 +10,6 @@ config NUM_IRQS
1010
default 16384 if GIC_V3_ITS
1111
default 128 if !GIC_V3_ITS
1212

13-
if SOC_FVP_BASE_REVC_2XAEMV8A
14-
1513
# Workaround for not being able to have commas in macro arguments
1614
DT_CHOSEN_Z_FLASH := zephyr,flash
1715

@@ -21,6 +19,4 @@ config FLASH_SIZE
2119
config FLASH_BASE_ADDRESS
2220
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
2321

24-
endif # SOC_FVP_BASE_REVC_2XAEMV8A
25-
26-
endif # SOC_SERIES_FVP_AEMV8A
22+
endif # SOC_SERIES_FVP_AEM

soc/arm/fvp_aem/Kconfig.soc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (c) 2021 Carlo Caione <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SOC_SERIES_FVP_AEM
5+
bool
6+
select SOC_FAMILY_ARM64
7+
8+
config SOC_FVP_V8A
9+
bool
10+
select SOC_SERIES_FVP_AEM
11+
12+
config SOC
13+
default "v8a" if SOC_FVP_V8A
14+
15+
config SOC_SERIES
16+
default "fvp_aem" if SOC_SERIES_FVP_AEM
File renamed without changes.

soc/arm/fvp_aemv8a/Kconfig.soc

Lines changed: 0 additions & 15 deletions
This file was deleted.

soc/arm/soc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ family:
2929
- name: designstart_fpga_cortex_m3
3030
- name: arm64
3131
series:
32-
- name: fvp_aemv8a
32+
- name: fvp_aem
3333
socs:
34-
- name: fvp_base_revc_2xaemv8a
34+
- name: v8a
3535
- name: fvp_aemv8r
3636
socs:
3737
- name: fvp_aemv8r_aarch64

0 commit comments

Comments
 (0)