arch/quark_d2000: Switch to SPI DW driver

As QMSI driver does not support new SPI API.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2018-02-27 11:24:30 +01:00 committed by Carles Cufí
commit 1ac6f4bd56
2 changed files with 13 additions and 1 deletions

View file

@ -141,8 +141,10 @@ config DMA_QMSI
endif
if SPI
config SPI_QMSI
config SPI_DW
def_bool y
config SPI_DW_FIFO_DEPTH
default 7
config SPI_0
def_bool y
config SPI_0_IRQ_PRI

View file

@ -46,4 +46,14 @@
#define UART_IRQ_FLAGS (IOAPIC_LEVEL | IOAPIC_HIGH)
#ifdef CONFIG_SPI_DW
#define SPI_DW_PORT_0_REGS 0xB0001000
#define SPI_DW_PORT_0_IRQ 2
#define SPI_DW_PORT_0_INT_MASK (SCSS_REGISTER_BASE + 0x454)
#define SPI_DW_IRQ_FLAGS (IOAPIC_LEVEL | IOAPIC_HIGH)
#endif
#endif /* __SOC_H_ */