soc: nordic_nrf: nrf52: Clean up option dependencies in Kconfig.soc
Use one common `if SOC_SERIES_NRF52X` instead of `depends on` for each particular SoC option. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
399fa64e7e
commit
d05a95e5c1
1 changed files with 4 additions and 9 deletions
|
@ -3,44 +3,38 @@
|
|||
# Copyright (c) 2016-2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_SERIES_NRF52X
|
||||
|
||||
config SOC_NRF52805
|
||||
depends on SOC_SERIES_NRF52X
|
||||
bool
|
||||
|
||||
config SOC_NRF52810
|
||||
depends on SOC_SERIES_NRF52X
|
||||
bool
|
||||
|
||||
config SOC_NRF52811
|
||||
depends on SOC_SERIES_NRF52X
|
||||
bool
|
||||
|
||||
config SOC_NRF52820
|
||||
depends on SOC_SERIES_NRF52X
|
||||
bool
|
||||
|
||||
config SOC_NRF52832
|
||||
depends on SOC_SERIES_NRF52X
|
||||
bool
|
||||
select CPU_CORTEX_M_HAS_DWT
|
||||
select CPU_HAS_FPU
|
||||
|
||||
config SOC_NRF52833
|
||||
depends on SOC_SERIES_NRF52X
|
||||
bool
|
||||
select SOC_COMPATIBLE_NRF52833
|
||||
select CPU_CORTEX_M_HAS_DWT
|
||||
select CPU_HAS_FPU
|
||||
|
||||
config SOC_NRF52840
|
||||
depends on SOC_SERIES_NRF52X
|
||||
bool
|
||||
select CPU_CORTEX_M_HAS_DWT
|
||||
select CPU_HAS_FPU
|
||||
|
||||
choice
|
||||
prompt "nRF52x MCU Selection"
|
||||
depends on SOC_SERIES_NRF52X
|
||||
|
||||
config SOC_NRF52805_CAAA
|
||||
bool "NRF52805_CAAA"
|
||||
|
@ -93,7 +87,6 @@ config SOC_DCDC_NRF52X_HV
|
|||
|
||||
config GPIO_AS_PINRESET
|
||||
bool "GPIO as pin reset (reset button)"
|
||||
depends on SOC_SERIES_NRF52X
|
||||
default y
|
||||
|
||||
config NRF_ENABLE_ICACHE
|
||||
|
@ -127,3 +120,5 @@ config NRF52_ANOMALY_198_WORKAROUND
|
|||
help
|
||||
This anomaly applies to IC revisions "Engineering B" up to "3", the most
|
||||
recent one.
|
||||
|
||||
endif # SOC_SERIES_NRF52X
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue