soc: arm: nordic_nrf: move Kconfig.peripherals to common folder

Because RISC-V cores also need to include this file, so it is no longer
ARM specific.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-02-01 10:44:47 +01:00 committed by Carles Cufí
commit 1a6b88608e
3 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ if SOC_SERIES_BSIM_NRFXX
# used by Nordic SoCs, so to make the symbols defined in this file available for
# the simulated nrf5x_bsim boards, which use the POSIX architecture, the file
# must be read also from here.
source "soc/arm/nordic_nrf/Kconfig.peripherals"
source "soc/common/nordic_nrf/Kconfig.peripherals"
source "boards/$(ARCH)/common/extra_args/Kconfig"

View file

@ -13,7 +13,7 @@ config SOC_FAMILY
string
default "nordic_nrf"
source "soc/arm/nordic_nrf/Kconfig.peripherals"
source "soc/common/nordic_nrf/Kconfig.peripherals"
source "soc/arm/nordic_nrf/*/Kconfig.soc"
config NRF_SOC_SECURE_SUPPORTED