boards: arduino_101: Set sensible default for SPI_0_CS_GPIO
The SPI_0_CS_GPIO and SPI_0_CS_GPIO_PIN values were defaulting to something not very usable, because of which e.g. the file system test app was having to explicitly set the right values in its sample configuration. Having a proper defaults in the board defconfig means this isn't needed anymore. Change-Id: I1399914451c1616588322e25304d40d3dd1151e7 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
61cfaa1be1
commit
c1485fe2f8
2 changed files with 6 additions and 2 deletions
|
@ -51,6 +51,12 @@ if FLASH && SPI
|
|||
config SPI_FLASH_W25QXXDV
|
||||
def_bool y
|
||||
|
||||
config SPI_0_CS_GPIO
|
||||
def_bool y
|
||||
|
||||
config SPI_0_CS_GPIO_PIN
|
||||
default 24
|
||||
|
||||
if SPI_FLASH_W25QXXDV
|
||||
|
||||
config SPI_FLASH_W25QXXDV_SPI_NAME
|
||||
|
|
|
@ -5,5 +5,3 @@ CONFIG_FS_FAT_FLASH_DISK_W25QXXDV=y
|
|||
CONFIG_FLASH=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SPI_CS_GPIO=y
|
||||
CONFIG_SPI_0_CS_GPIO_PIN=24
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue