Browse Source

soc: efinix_sapphire: 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
359133d725
  1. 0
      soc/efinix/sapphire/CMakeLists.txt
  2. 1
      soc/efinix/sapphire/Kconfig
  3. 3
      soc/efinix/sapphire/Kconfig.defconfig
  4. 10
      soc/efinix/sapphire/Kconfig.soc
  5. 2
      soc/efinix/sapphire/soc.yml

0
soc/soc_legacy/riscv/efinix_sapphire/CMakeLists.txt → soc/efinix/sapphire/CMakeLists.txt

1
soc/soc_legacy/riscv/efinix_sapphire/Kconfig.soc → soc/efinix/sapphire/Kconfig

@ -2,7 +2,6 @@ @@ -2,7 +2,6 @@
# SPDX-License-Identifier: Apache-2.0
config SOC_EFINIX_SAPPHIRE
bool "Efinix Sapphire VexRiscv system implementation"
select ATOMIC_OPERATIONS_BUILTIN
select INCLUDE_RESET_VECTOR
select RISCV_ISA_RV32I

3
soc/soc_legacy/riscv/efinix_sapphire/Kconfig.defconfig → soc/efinix/sapphire/Kconfig.defconfig

@ -3,9 +3,6 @@ @@ -3,9 +3,6 @@
if SOC_EFINIX_SAPPHIRE
config SOC
default "efinix_sapphire"
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 100000000

10
soc/efinix/sapphire/Kconfig.soc

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
# Copyright (c) 2023 Efinix Inc.
# SPDX-License-Identifier: Apache-2.0
config SOC_EFINIX_SAPPHIRE
bool
help
Efinix Sapphire VexRiscv system implementation
config SOC
default "efinix_sapphire" if SOC_EFINIX_SAPPHIRE

2
soc/efinix/sapphire/soc.yml

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