boards: sparc: qemu_leon3: 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-11 12:04:02 +00:00
parent f38f7bb223
commit ae02fc5047
9 changed files with 11 additions and 7 deletions

View File

@@ -3,7 +3,5 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_LEON3
bool "QEMU LEON3 target"
depends on SOC_LEON3
select QEMU_TARGET
select CPU_HAS_FPU

View File

@@ -4,9 +4,6 @@
if BOARD_QEMU_LEON3
config BOARD
default "qemu_leon3"
config UART_INTERRUPT_DRIVEN
default y

View File

@@ -0,0 +1,6 @@
# Copyright (c) 2019-2020 Cobham Gaisler AB
#
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_LEON3
select SOC_LEON3

View File

@@ -0,0 +1,5 @@
board:
name: qemu_leon3
vendor: Gaisler
socs:
- name: leon3

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_LEON3=y
CONFIG_BOARD_QEMU_LEON3=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y