boards: riscv: litex_vexriscv: 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-14 08:50:49 +00:00
committed by Carles Cufi
parent cb9339f88f
commit e82932e787
10 changed files with 7 additions and 8 deletions

View File

@@ -3,9 +3,6 @@
if BOARD_LITEX_VEXRISCV
config BOARD
default "litex_vexriscv"
if NETWORKING
config NET_L2_ETHERNET

View File

@@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_LITEX_VEXRISCV
bool "Board with LiteX/VexRiscV CPU"
depends on SOC_RISCV32_LITEX_VEXRISCV
select SOC_LITEX_VEXRISCV

View File

@@ -0,0 +1,5 @@
board:
name: litex_vexriscv
vendor: LiteX
socs:
- name: litex_vexriscv

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -4,8 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SOC_RISCV32_LITEX_VEXRISCV=y
CONFIG_BOARD_LITEX_VEXRISCV=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y

View File

@@ -166,7 +166,7 @@ config HWINFO_ESP32
config HWINFO_LITEX
bool "LiteX device ID"
default y
depends on SOC_RISCV32_LITEX_VEXRISCV
depends on SOC_LITEX_VEXRISCV
help
Enable LiteX hwinfo driver