summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.3/462-mtd-m25p80-set-spi-transfer-type.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-17 22:28:09 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-17 22:28:09 +0000
commitfc0da6852e9b0586d6cd1ea79378824639b56e01 (patch)
tree8a36b55916665137eb580e0265282fb4f820e707 /target/linux/ar71xx/patches-3.3/462-mtd-m25p80-set-spi-transfer-type.patch
parentbf34eeaea4ad8079fdc188dd0b8ff834401a9b31 (diff)
downloadmtk-20170518-fc0da6852e9b0586d6cd1ea79378824639b56e01.zip
mtk-20170518-fc0da6852e9b0586d6cd1ea79378824639b56e01.tar.gz
mtk-20170518-fc0da6852e9b0586d6cd1ea79378824639b56e01.tar.bz2
ar71xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34743
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/462-mtd-m25p80-set-spi-transfer-type.patch')
-rw-r--r--target/linux/ar71xx/patches-3.3/462-mtd-m25p80-set-spi-transfer-type.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/target/linux/ar71xx/patches-3.3/462-mtd-m25p80-set-spi-transfer-type.patch b/target/linux/ar71xx/patches-3.3/462-mtd-m25p80-set-spi-transfer-type.patch
deleted file mode 100644
index 48e69c0..0000000
--- a/target/linux/ar71xx/patches-3.3/462-mtd-m25p80-set-spi-transfer-type.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/drivers/mtd/devices/m25p80.c
-+++ b/drivers/mtd/devices/m25p80.c
-@@ -372,10 +372,12 @@ static int m25p80_read(struct mtd_info *
- * OPCODE_FAST_READ (if available) is faster.
- * Should add 1 byte DUMMY_BYTE.
- */
-+ t[0].type = SPI_TRANSFER_FLASH_READ_CMD;
- t[0].tx_buf = flash->command;
- t[0].len = m25p_cmdsz(flash) + FAST_READ_DUMMY_BYTE;
- spi_message_add_tail(&t[0], &m);
-
-+ t[1].type = SPI_TRANSFER_FLASH_READ_DATA;
- spi_message_add_tail(&t[1], &m);
-
- /* Byte count starts at zero. */