galileo: Kconfig: Make SPI built by default

Taking the opportunity to set simpler driver names for port 0 and 1.

Change-Id: I994bc43daaf6bc43b0dad564a72577c874f72d2d
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2015-10-12 14:39:43 +03:00 committed by Anas Nashif
commit b6303c0236

View file

@ -59,6 +59,9 @@ config GPIO
config PWM
def_bool y
config SPI
def_bool y
config SHARED_IRQ
def_bool y
@ -265,9 +268,14 @@ config PWM_PCA9685_0_I2C_MASTER_DEV_NAME
endif
endif
if SPI && SPI_INTEL
if SPI
config SPI_INTEL
def_bool y
if SPI_INTEL_PORT_0
config SPI_INTEL_PORT_0
def_bool y
config SPI_INTEL_PORT_0_DRV_NAME
default "SPI0"
config SPI_INTEL_PORT_0_BUS
default 0
config SPI_INTEL_PORT_0_DEV
@ -286,8 +294,11 @@ config SPI_INTEL_PORT_0_CS_GPIO_PORT
default GPIO_DW_0_NAME
config SPI_INTEL_PORT_0_CS_GPIO_PIN
default 0
endif
if SPI_INTEL_PORT_1
config SPI_INTEL_PORT_1
def_bool y
config SPI_INTEL_PORT_1_DRV_NAME
default "SPI1"
config SPI_INTEL_PORT_1_BUS
default 0
config SPI_INTEL_PORT_1_DEV
@ -300,8 +311,7 @@ config SPI_INTEL_PORT_1_IRQ
default 17
config SPI_INTEL_PORT_1_PRI
default 0
endif
endif
endif # SPI
if NS16550
config NS16550_PORT_0_BASE_ADDR