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:
@@ -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
|
||||
@@ -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
|
||||
|
||||
5
boards/v2/qemu/qemu_cortex_a53/Kconfig.qemu_cortex_a53
Normal file
5
boards/v2/qemu/qemu_cortex_a53/Kconfig.qemu_cortex_a53
Normal 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
|
||||
@@ -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}
|
||||
8
boards/v2/qemu/qemu_cortex_a53/board.yml
Normal file
8
boards/v2/qemu/qemu_cortex_a53/board.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
board:
|
||||
name: qemu_cortex_a53
|
||||
vendor: ARM
|
||||
socs:
|
||||
- name: qemu_cortex_a53
|
||||
variants:
|
||||
- name: smp
|
||||
- name: xip
|
||||
@@ -1,5 +1,3 @@
|
||||
CONFIG_SOC_QEMU_CORTEX_A53=y
|
||||
CONFIG_BOARD_QEMU_CORTEX_A53=y
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
|
||||
# Cache management
|
||||
@@ -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
|
||||
@@ -1,5 +1,3 @@
|
||||
CONFIG_SOC_QEMU_CORTEX_A53=y
|
||||
CONFIG_BOARD_QEMU_CORTEX_A53=y
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
|
||||
# Cache management
|
||||
@@ -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
|
||||
@@ -1,5 +1,3 @@
|
||||
CONFIG_SOC_QEMU_CORTEX_A53=y
|
||||
CONFIG_BOARD_QEMU_CORTEX_A53=y
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
|
||||
# Cache management
|
||||
Reference in New Issue
Block a user