mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 14:31:56 +00:00
A recent submission caused a build error for DW CONFIG_SPI_DW_INTERRUPT_SINGLE_LINE because the symbols CONFIG_SPI_<0,1>_IRQ went missing from Kconfig. I think these should probably NOT be configurable, because on an SOC, interrupt lines are hard. So I'm changing the names back to SPI_DW_PORT_<0,1>_IRQ, with there definitions originatig in the soc.h file. Also, on DesignWare ARC EM Starterkit, the SPI interface has 6 slave selects, but IP itself can handle up to 16. Why does this start from 1 and not 0? Argh! DBG_COUNTER_RESULT() should expand to 0 when not used. Also, don't check version from DesignWare IP because it can be different for each target. spi_dw_isr() requires a cast when converting arg to dev. Change-Id: I83d55e0405583e7cafab80b09cbef44e0f96fcb8 Signed-off-by: Chuck Jordan <cjordan@synopsys.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Kconfig.dw | ||
Makefile | ||
spi_dw_quark_se_ss_regs.h | ||
spi_dw_regs.h | ||
spi_dw.c | ||
spi_dw.h | ||
spi_intel.c | ||
spi_intel.h | ||
spi_k64_priv.h | ||
spi_k64.c | ||
spi_qmsi.c |