boards: riscv: opentitan_earlgrey: 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:29:28 +00:00
committed by Carles Cufi
parent 92eadf06b8
commit 1cd4c34654
7 changed files with 6 additions and 13 deletions

View File

@@ -1,9 +0,0 @@
# Copyright (c) 2023 by Rivos Inc.
# SPDX-License-Identifier: Apache-2.0
if BOARD_OPENTITAN_EARLGREY
config BOARD
default "opentitan_earlgrey"
endif # BOARD_OPENTITAN_EARLGREY

View File

@@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_OPENTITAN_EARLGREY
bool "OpenTitan Earl Grey Target"
depends on SOC_OPENTITAN
select SOC_OPENTITAN

View File

@@ -0,0 +1,5 @@
board:
name: opentitan_earlgrey
vendor: lowRISC
socs:
- name: opentitan

View File

@@ -1,8 +1,6 @@
# Copyright (c) 2023 by Rivos Inc.
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_OPENTITAN=y
CONFIG_BOARD_OPENTITAN_EARLGREY=y
CONFIG_XIP=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y