arm/nordic_nrf5: enable SOC_FLASH_NRF5 by default if FLASH is enabled
SOC_FLASH_NRF5 is compatible with any nrf5 device, so enable the driver by default if CONFIG_FLASH is also enabled. Change-Id: I6ddf7cc41bb28071f682e78661b184a8e2ee7aa9 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
This commit is contained in:
parent
58460a52c9
commit
6e14642c1e
1 changed files with 7 additions and 0 deletions
|
@ -21,6 +21,13 @@ config GPIO_NRF5
|
||||||
|
|
||||||
endif # GPIO
|
endif # GPIO
|
||||||
|
|
||||||
|
if FLASH
|
||||||
|
|
||||||
|
config SOC_FLASH_NRF5
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
endif # FLASH
|
||||||
|
|
||||||
source "arch/arm/soc/nordic_nrf5/*/Kconfig.defconfig.series"
|
source "arch/arm/soc/nordic_nrf5/*/Kconfig.defconfig.series"
|
||||||
|
|
||||||
endif # SOC_FAMILY_NRF5
|
endif # SOC_FAMILY_NRF5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue