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:
Peter A. Bigot 2018-12-23 14:20:13 -06:00 committed by Carles Cufí
commit 1c5cd92e12

View file

@ -26,4 +26,11 @@ config ENTROPY_NRF5_RNG
endif # ENTROPY_GENERATOR
if SPI
config GPIO
default y
endif # SPI
endif # SOC_FAMILY_NRF