soc: riscv: niosv: reorganize SoC folder

Move out of riscv-privileged, create new family for it.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-01-03 17:36:53 +01:00 committed by Carles Cufí
commit 8729a782f9
13 changed files with 27 additions and 17 deletions

View file

@ -1,3 +1,4 @@
# Copyright (c) 2024 Nordic Semiconductor
# SPDX-License-Identifier: Apache-2.0
add_subdirectory(${SOC_SERIES})

View file

@ -0,0 +1,15 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config SOC_FAMILY_INTEL_NIOSV
bool
if SOC_FAMILY_INTEL_NIOSV
config SOC_FAMILY
string
default "intel_niosv"
source "soc/riscv/intel_niosv/*/Kconfig.soc"
endif # SOC_FAMILY_INTEL_NIOSV

View file

@ -0,0 +1,4 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
source "soc/riscv/intel_niosv/*/Kconfig.defconfig.series"

View file

@ -0,0 +1,4 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
source "soc/riscv/intel_niosv/*/Kconfig.series"

View file

@ -21,4 +21,4 @@ config RISCV_GP
config RISCV_SOC_INTERRUPT_INIT
default y
endif # SOC_SERIES_NIOSV
endif # SOC_NIOSV

View file

@ -5,5 +5,7 @@ config SOC_SERIES_NIOSV
bool "INTEL FPGA NIOSV"
select RISCV
select RISCV_PRIVILEGED
select RISCV_PRIVILEGED_STANDALONE
select SOC_FAMILY_INTEL_NIOSV
help
Enable support for the INTEL FPGA NIOSV.

View file

@ -1,4 +0,0 @@
# Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com>
# SPDX-License-Identifier: Apache-2.0
source "soc/riscv/riscv-privileged/*/Kconfig.soc"

View file

@ -1,6 +0,0 @@
# riscv SOC family supporting the riscv privileged architecture spec
# Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com>
# SPDX-License-Identifier: Apache-2.0
source "soc/riscv/riscv-privileged/*/Kconfig.defconfig.series"

View file

@ -1,6 +0,0 @@
# riscv SOC series supporting the riscv privileged architecture spec
# Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com>
# SPDX-License-Identifier: Apache-2.0
source "soc/riscv/riscv-privileged/*/Kconfig.series"