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:
@@ -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
|
||||
@@ -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
|
||||
5
boards/qemu/cortex_r5/Kconfig.qemu_cortex_r5
Normal file
5
boards/qemu/cortex_r5/Kconfig.qemu_cortex_r5
Normal 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
|
||||
@@ -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
|
||||
5
boards/qemu/cortex_r5/board.yml
Normal file
5
boards/qemu/cortex_r5/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: qemu_cortex_r5
|
||||
vendor: QEMU
|
||||
socs:
|
||||
- name: zynqmp_rpu
|
||||
@@ -1,5 +1,3 @@
|
||||
CONFIG_SOC_XILINX_ZYNQMP_RPU=y
|
||||
CONFIG_BOARD_QEMU_CORTEX_R5=y
|
||||
CONFIG_XIP=n
|
||||
CONFIG_QEMU_ICOUNT_SHIFT=3
|
||||
|
||||
Reference in New Issue
Block a user