boards: arm: qemu_cortex_r5: 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-02-02 11:05:56 +00:00
parent 5db2390e9d
commit 3ecd12f415
10 changed files with 11 additions and 8 deletions

View File

@@ -2,6 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_CORTEX_R5
bool "Cortex-R5 Emulation (QEMU)"
depends on SOC_XILINX_ZYNQMP_RPU
select QEMU_TARGET

View File

@@ -6,9 +6,6 @@ if BOARD_QEMU_CORTEX_R5
config BUILD_OUTPUT_BIN
default n
config BOARD
default "qemu_cortex_r5"
if USERSPACE
config COMPILER_ISA_THUMB2

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2019 Lexmark International, Inc.
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_CORTEX_R5
select SOC_XILINX_ZYNQMP_RPU

View File

@@ -9,7 +9,7 @@ set(QEMU_CPU_TYPE_${ARCH} cortex-r5)
set(QEMU_FLAGS_${ARCH}
-nographic
-machine arm-generic-fdt
-dtb ${ZEPHYR_BASE}/boards/boards_legacy/${ARCH}/${BOARD}/fdt-single_arch-zcu102-arm.dtb
-dtb ${CMAKE_CURRENT_LIST_DIR}/fdt-single_arch-zcu102-arm.dtb
)
set(QEMU_KERNEL_OPTION

View File

@@ -0,0 +1,5 @@
board:
name: qemu_cortex_r5
vendor: QEMU
socs:
- name: zynqmp_rpu

View File

@@ -1,5 +1,3 @@
CONFIG_SOC_XILINX_ZYNQMP_RPU=y
CONFIG_BOARD_QEMU_CORTEX_R5=y
CONFIG_XIP=n
CONFIG_QEMU_ICOUNT_SHIFT=3