aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/include/asm/bfin5xx_spi.h1
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/bfin5xx_spi.h b/arch/blackfin/include/asm/bfin5xx_spi.h
index aaeb4df10d57..c281c6328276 100644
--- a/arch/blackfin/include/asm/bfin5xx_spi.h
+++ b/arch/blackfin/include/asm/bfin5xx_spi.h
@@ -127,6 +127,7 @@ struct bfin5xx_spi_chip {
127 u32 cs_gpio; 127 u32 cs_gpio;
128 /* Value to send if no TX value is supplied, usually 0x0 or 0xFFFF */ 128 /* Value to send if no TX value is supplied, usually 0x0 or 0xFFFF */
129 u16 idle_tx_val; 129 u16 idle_tx_val;
130 u8 pio_interrupt; /* Enable spi data irq */
130}; 131};
131 132
132#endif /* _SPI_CHANNEL_H_ */ 133#endif /* _SPI_CHANNEL_H_ */
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index b8e8c92f6b9c..d619313b1a71 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -555,6 +555,7 @@ static struct mmc_spi_platform_data bfin_mmc_spi_pdata = {
555static struct bfin5xx_spi_chip mmc_spi_chip_info = { 555static struct bfin5xx_spi_chip mmc_spi_chip_info = {
556 .enable_dma = 0, 556 .enable_dma = 0,
557 .bits_per_word = 8, 557 .bits_per_word = 8,
558 .pio_interrupt = 0,
558}; 559};
559#endif 560#endif
560 561
@@ -864,6 +865,11 @@ static struct resource bfin_spi0_resource[] = {
864 [1] = { 865 [1] = {
865 .start = CH_SPI, 866 .start = CH_SPI,
866 .end = CH_SPI, 867 .end = CH_SPI,
868 .flags = IORESOURCE_DMA,
869 },
870 [2] = {
871 .start = IRQ_SPI,
872 .end = IRQ_SPI,
867 .flags = IORESOURCE_IRQ, 873 .flags = IORESOURCE_IRQ,
868 }, 874 },
869}; 875};