soc: opentitan: Port to HWMv2

Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2024-02-14 08:25:39 +00:00 committed by Carles Cufi
parent a8659e170b
commit 92eadf06b8
8 changed files with 10 additions and 4 deletions

View File

@ -2,7 +2,6 @@
# SPDX-License-Identifier: Apache-2.0
config SOC_OPENTITAN
bool "OpenTitan implementation"
select ATOMIC_OPERATIONS_C
select INCLUDE_RESET_VECTOR
select RISCV_ISA_RV32I

View File

@ -3,9 +3,6 @@
if SOC_OPENTITAN
config SOC
default "opentitan"
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 1000000

View File

@ -0,0 +1,8 @@
# Copyright (c) 2023 Rivos Inc.
# SPDX-License-Identifier: Apache-2.0
config SOC_OPENTITAN
bool
config SOC
default "opentitan" if SOC_OPENTITAN

View File

@ -0,0 +1,2 @@
socs:
- name: opentitan