Browse Source

soc: opentitan: Port to HWMv2

Ports the SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago committed by Carles Cufi
parent
commit
92eadf06b8
  1. 0
      soc/lowrisc/opentitan/CMakeLists.txt
  2. 1
      soc/lowrisc/opentitan/Kconfig
  3. 3
      soc/lowrisc/opentitan/Kconfig.defconfig
  4. 8
      soc/lowrisc/opentitan/Kconfig.soc
  5. 0
      soc/lowrisc/opentitan/rom_header.S
  6. 0
      soc/lowrisc/opentitan/rom_header.ld
  7. 0
      soc/lowrisc/opentitan/soc.c
  8. 2
      soc/lowrisc/opentitan/soc.yml

0
soc/soc_legacy/riscv/opentitan/CMakeLists.txt → soc/lowrisc/opentitan/CMakeLists.txt

1
soc/soc_legacy/riscv/opentitan/Kconfig.soc → soc/lowrisc/opentitan/Kconfig

@ -2,7 +2,6 @@ @@ -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
soc/soc_legacy/riscv/opentitan/Kconfig.defconfig → soc/lowrisc/opentitan/Kconfig.defconfig

@ -3,9 +3,6 @@ @@ -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

@ -0,0 +1,8 @@ @@ -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

0
soc/soc_legacy/riscv/opentitan/rom_header.S → soc/lowrisc/opentitan/rom_header.S

0
soc/soc_legacy/riscv/opentitan/rom_header.ld → soc/lowrisc/opentitan/rom_header.ld

0
soc/soc_legacy/riscv/opentitan/soc.c → soc/lowrisc/opentitan/soc.c

2
soc/lowrisc/opentitan/soc.yml

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
socs:
- name: opentitan
Loading…
Cancel
Save