soc: nordic: default GPIO when SPI enabled
SPI devices almost always require chip selects, which are configured through GPIOs. Make the GPIO infrastructure available by default when SPI is enabled. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
parent
acb6486489
commit
1c5cd92e12
1 changed files with 7 additions and 0 deletions
|
@ -26,4 +26,11 @@ config ENTROPY_NRF5_RNG
|
|||
|
||||
endif # ENTROPY_GENERATOR
|
||||
|
||||
if SPI
|
||||
|
||||
config GPIO
|
||||
default y
|
||||
|
||||
endif # SPI
|
||||
|
||||
endif # SOC_FAMILY_NRF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue