soc: Remove useless Kconfig options and config for Galileo and SPI

These are set via DTS now.

Fixes #11064

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2018-11-05 11:21:01 +01:00 committed by Kumar Gala
commit 8c3a1cb23a
2 changed files with 0 additions and 32 deletions

View file

@ -137,39 +137,12 @@ config SPI_INTEL
if SPI_INTEL
config SPI_CS_GPIO
def_bool y
config SPI_0
def_bool y
if SPI_0
config SPI_0_IRQ_PRI
default 2
config SPI_0_CS_GPIO_PORT
default "GPIO_0"
config SPI_0_CS_GPIO_PIN
default 0
endif # SPI_0
config SPI_1
def_bool n
if SPI_1
config SPI_1_NAME
default "SPI_1"
config SPI_1_IRQ_PRI
default 2
config SPI_1_CS_GPIO_PORT
default "GPIO_0"
config SPI_1_CS_GPIO_PIN
default 2
endif # SPI_1
endif # SPI_INTEL
endif # SPI

View file

@ -49,19 +49,14 @@
#define SPI_INTEL_DEVICE_ID 0x935
#define SPI_INTEL_CLASS 0x0C
#define SPI_INTEL_PORT_0_REGS 0x90009000
#define SPI_INTEL_PORT_0_IRQ 16
#define SPI_INTEL_PORT_0_BUS 0
#define SPI_INTEL_PORT_0_DEV 21
#define SPI_INTEL_PORT_0_FUNCTION 0
#define SPI_INTEL_PORT_1_REGS 0x90008000
#define SPI_INTEL_PORT_1_IRQ 17
#define SPI_INTEL_PORT_1_BUS 0
#define SPI_INTEL_PORT_1_DEV 21
#define SPI_INTEL_PORT_1_FUNCTION 1
#define SPI_INTEL_IRQ_FLAGS (IOAPIC_EDGE | IOAPIC_HIGH)
/*
* GPIO
*/