summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorAsh Benz <ash.benz@bk.ru>2016-05-27 22:26:47 +0800
committerJohn Crispin <john@phrozen.org>2016-05-27 15:50:18 +0200
commitd517d8691a5a442049b16d23e14c093323a30929 (patch)
tree90834aeba3dbf23f5a3033aabbb81d2ad32a5c29 /target/linux
parent867c0cb2379d3b78d45ed2e50068816b20f8b714 (diff)
downloadmtk-20170518-d517d8691a5a442049b16d23e14c093323a30929.zip
mtk-20170518-d517d8691a5a442049b16d23e14c093323a30929.tar.gz
mtk-20170518-d517d8691a5a442049b16d23e14c093323a30929.tar.bz2
kernel/mtd: Add support for Macronix mx25u25635f, used in C2600 v1.1
Signed-off-by: Ash Benz <ash.benz@bk.ru>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/patches-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch b/target/linux/generic/patches-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch
new file mode 100644
index 0000000..c2aa418
--- /dev/null
+++ b/target/linux/generic/patches-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/spi-nor/spi-nor.c
++++ b/drivers/mtd/spi-nor/spi-nor.c
+@@ -722,6 +722,7 @@ static const struct flash_info spi_nor_i
+ { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
+ { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
+ { "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, 0) },
++ { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, 0) },
+ { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
+ { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_QUAD_READ) },
+ { "mx66l1g55g", INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) },