mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 13:01:57 +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> |
||
---|---|---|
arch | ||
boards | ||
doc | ||
drivers | ||
include | ||
kernel | ||
lib | ||
misc | ||
net | ||
samples | ||
scripts | ||
tests | ||
.checkpatch.conf | ||
.gitattributes | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
Kbuild | ||
Kconfig | ||
Kconfig.zephyr | ||
LICENSE | ||
Makefile | ||
Makefile.inc | ||
zephyr-env.sh |