boards: sparc: generic_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 11:40:48 +00:00
parent faf22185ce
commit 6a8a0c1647
8 changed files with 6 additions and 7 deletions

View File

@@ -4,9 +4,6 @@
if BOARD_GENERIC_LEON3 if BOARD_GENERIC_LEON3
config BOARD
default "generic_leon3"
config SPARC_CASA config SPARC_CASA
default n default n

View File

@@ -3,5 +3,4 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config BOARD_GENERIC_LEON3 config BOARD_GENERIC_LEON3
bool "Generic LEON3 system" select SOC_LEON3
depends on SOC_LEON3

View File

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

View File

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