boards: arm64: qemu_cortex_a53: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-01-15 14:25:00 +00:00
parent 30bd34b31e
commit d8d1b9f200
15 changed files with 18 additions and 20 deletions

View File

@@ -1,14 +1,8 @@
# Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_CORTEX_A53
bool "Cortex-A53 Emulation (QEMU)"
depends on SOC_QEMU_CORTEX_A53
select ARM64
select QEMU_TARGET
config QEMU_CORTEX_A53_ETH_E1000
bool "Use Intel e1000 Ethernet driver for networking"
bool
default y if !NET_TEST
depends on BOARD_QEMU_CORTEX_A53 && NETWORKING && DT_HAS_INTEL_E1000_ENABLED
select ETH_E1000

View File

@@ -6,9 +6,6 @@ if BOARD_QEMU_CORTEX_A53
config BUILD_OUTPUT_BIN
default y
config BOARD
default "qemu_cortex_a53"
config MAX_THREAD_BYTES
default 3

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_CORTEX_A53
select SOC_QEMU_CORTEX_A53

View File

@@ -7,9 +7,9 @@ set(QEMU_ARCH aarch64)
set(QEMU_CPU_TYPE_${ARCH} cortex-a53)
if(CONFIG_ARMV8_A_NS)
set(QEMU_MACH virt,gic-version=3)
set(QEMU_MACH virt,gic-version=3)
else()
set(QEMU_MACH virt,secure=on,gic-version=3)
set(QEMU_MACH virt,secure=on,gic-version=3)
endif()
set(QEMU_FLAGS_${ARCH}

View File

@@ -0,0 +1,8 @@
board:
name: qemu_cortex_a53
vendor: ARM
socs:
- name: qemu_cortex_a53
variants:
- name: smp
- name: xip

View File

@@ -1,5 +1,3 @@
CONFIG_SOC_QEMU_CORTEX_A53=y
CONFIG_BOARD_QEMU_CORTEX_A53=y
CONFIG_ARM_ARCH_TIMER=y
# Cache management

View File

@@ -1,4 +1,4 @@
identifier: qemu_cortex_a53_smp
identifier: qemu_cortex_a53//smp
name: QEMU Emulation for Cortex-A53 SMP
type: qemu
simulation: qemu

View File

@@ -1,5 +1,3 @@
CONFIG_SOC_QEMU_CORTEX_A53=y
CONFIG_BOARD_QEMU_CORTEX_A53=y
CONFIG_ARM_ARCH_TIMER=y
# Cache management

View File

@@ -1,4 +1,4 @@
identifier: qemu_cortex_a53_xip
identifier: qemu_cortex_a53//xip
name: QEMU Emulation for Cortex-A53 (XIP)
type: qemu
simulation: qemu

View File

@@ -1,5 +1,3 @@
CONFIG_SOC_QEMU_CORTEX_A53=y
CONFIG_BOARD_QEMU_CORTEX_A53=y
CONFIG_ARM_ARCH_TIMER=y
# Cache management