soc: efinix_sapphire: 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:16:35 +00:00
committed by Carles Cufi
parent 6d466429ed
commit 359133d725
5 changed files with 12 additions and 4 deletions

View File

@@ -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

View File

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

View File

@@ -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

View File

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