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:
parent
b5fb00bdc8
commit
8729a782f9
13 changed files with 27 additions and 17 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
# Copyright (c) 2024 Nordic Semiconductor
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
add_subdirectory(${SOC_SERIES})
|
add_subdirectory(${SOC_SERIES})
|
15
soc/riscv/intel_niosv/Kconfig
Normal file
15
soc/riscv/intel_niosv/Kconfig
Normal 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
|
4
soc/riscv/intel_niosv/Kconfig.defconfig
Normal file
4
soc/riscv/intel_niosv/Kconfig.defconfig
Normal 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"
|
4
soc/riscv/intel_niosv/Kconfig.soc
Normal file
4
soc/riscv/intel_niosv/Kconfig.soc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
source "soc/riscv/intel_niosv/*/Kconfig.series"
|
|
@ -21,4 +21,4 @@ config RISCV_GP
|
||||||
config RISCV_SOC_INTERRUPT_INIT
|
config RISCV_SOC_INTERRUPT_INIT
|
||||||
default y
|
default y
|
||||||
|
|
||||||
endif # SOC_SERIES_NIOSV
|
endif # SOC_NIOSV
|
|
@ -5,5 +5,7 @@ config SOC_SERIES_NIOSV
|
||||||
bool "INTEL FPGA NIOSV"
|
bool "INTEL FPGA NIOSV"
|
||||||
select RISCV
|
select RISCV
|
||||||
select RISCV_PRIVILEGED
|
select RISCV_PRIVILEGED
|
||||||
|
select RISCV_PRIVILEGED_STANDALONE
|
||||||
|
select SOC_FAMILY_INTEL_NIOSV
|
||||||
help
|
help
|
||||||
Enable support for the INTEL FPGA NIOSV.
|
Enable support for the INTEL FPGA NIOSV.
|
|
@ -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"
|
|
|
@ -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"
|
|
|
@ -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"
|
|
Loading…
Add table
Add a link
Reference in a new issue