diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2012-11-12 09:18:00 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2012-11-12 09:18:00 +0000 |
commit | 5cddb170cdbe2ab2cdfd3e24cd025b387baa5438 (patch) | |
tree | e0982abb3bf0a074e6507758fbaf5b3120619cd8 /target/linux/cns3xxx/patches-3.3/052-cns3xxx_spi.patch | |
parent | 77504ac06fe4dcfd069fdd51abb318b6d8cb0a31 (diff) | |
download | master-31e0f0ae-5cddb170cdbe2ab2cdfd3e24cd025b387baa5438.tar.gz master-31e0f0ae-5cddb170cdbe2ab2cdfd3e24cd025b387baa5438.tar.bz2 master-31e0f0ae-5cddb170cdbe2ab2cdfd3e24cd025b387baa5438.zip |
reorder, rename and refresh patches
SVN-Revision: 34169
Diffstat (limited to 'target/linux/cns3xxx/patches-3.3/052-cns3xxx_spi.patch')
-rw-r--r-- | target/linux/cns3xxx/patches-3.3/052-cns3xxx_spi.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/052-cns3xxx_spi.patch b/target/linux/cns3xxx/patches-3.3/052-cns3xxx_spi.patch deleted file mode 100644 index 0434c520e2..0000000000 --- a/target/linux/cns3xxx/patches-3.3/052-cns3xxx_spi.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/drivers/spi/Kconfig -+++ b/drivers/spi/Kconfig -@@ -117,6 +117,13 @@ config SPI_BUTTERFLY - inexpensive battery powered microcontroller evaluation board. - This same cable can be used to flash new firmware. - -+config SPI_CNS3XXX -+ tristate "CNS3XXX SPI controller" -+ depends on ARCH_CNS3XXX && SPI_MASTER -+ select SPI_BITBANG -+ help -+ This enables using the CNS3XXX SPI controller in master mode. -+ - config SPI_COLDFIRE_QSPI - tristate "Freescale Coldfire QSPI controller" - depends on (M520x || M523x || M5249 || M527x || M528x || M532x) ---- a/drivers/spi/Makefile -+++ b/drivers/spi/Makefile -@@ -18,6 +18,7 @@ obj-$(CONFIG_SPI_BFIN) += spi-bfin5xx. - obj-$(CONFIG_SPI_BFIN_SPORT) += spi-bfin-sport.o - obj-$(CONFIG_SPI_BITBANG) += spi-bitbang.o - obj-$(CONFIG_SPI_BUTTERFLY) += spi-butterfly.o -+obj-$(CONFIG_SPI_CNS3XXX) += spi-cns3xxx.o - obj-$(CONFIG_SPI_COLDFIRE_QSPI) += spi-coldfire-qspi.o - obj-$(CONFIG_SPI_DAVINCI) += spi-davinci.o - obj-$(CONFIG_SPI_DESIGNWARE) += spi-dw.o ---- a/drivers/spi/spi-bitbang.c -+++ b/drivers/spi/spi-bitbang.c -@@ -330,6 +330,12 @@ static void bitbang_work(struct work_str - */ - if (!m->is_dma_mapped) - t->rx_dma = t->tx_dma = 0; -+ -+ if (t->transfer_list.next == &m->transfers) -+ t->last_in_message_list = 1; -+ else -+ t->last_in_message_list = 0; -+ - status = bitbang->txrx_bufs(spi, t); - } - if (status > 0) |