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:
committed by
Carles Cufi
parent
a8659e170b
commit
92eadf06b8
@@ -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
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
if SOC_OPENTITAN
|
||||
|
||||
config SOC
|
||||
default "opentitan"
|
||||
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default 1000000
|
||||
|
||||
8
soc/lowrisc/opentitan/Kconfig.soc
Normal file
8
soc/lowrisc/opentitan/Kconfig.soc
Normal 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
|
||||
2
soc/lowrisc/opentitan/soc.yml
Normal file
2
soc/lowrisc/opentitan/soc.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
socs:
|
||||
- name: opentitan
|
||||
Reference in New Issue
Block a user