aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.19/479-mtd-spi-nor-add-xtx-xt25f128b.patch
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2020-03-10 18:17:02 +0100
committerPetr Štetiar <ynezz@true.cz>2020-03-12 12:59:44 +0100
commit3ef988caf383cd761af0fe7e943dfcc2dd766cf5 (patch)
treecf5c368dcca34aa38ba3bd8f43adf8910c3b1e9d /target/linux/generic/pending-4.19/479-mtd-spi-nor-add-xtx-xt25f128b.patch
parentf39230e4636c1003cf8cb2d739cd95a4344609b4 (diff)
downloadupstream-3ef988caf383cd761af0fe7e943dfcc2dd766cf5.tar.gz
upstream-3ef988caf383cd761af0fe7e943dfcc2dd766cf5.tar.bz2
upstream-3ef988caf383cd761af0fe7e943dfcc2dd766cf5.zip
generic: 4.19: Add 4B_OPCODES flag to w25q256
This patch backports the upstream patch that adds the 4B_OPCODES flag to w25q256 under 4.19 kernel. This is needed for ipq40xx and ramips. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/generic/pending-4.19/479-mtd-spi-nor-add-xtx-xt25f128b.patch')
-rw-r--r--target/linux/generic/pending-4.19/479-mtd-spi-nor-add-xtx-xt25f128b.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-4.19/479-mtd-spi-nor-add-xtx-xt25f128b.patch b/target/linux/generic/pending-4.19/479-mtd-spi-nor-add-xtx-xt25f128b.patch
index 664837928b..da60939bb3 100644
--- a/target/linux/generic/pending-4.19/479-mtd-spi-nor-add-xtx-xt25f128b.patch
+++ b/target/linux/generic/pending-4.19/479-mtd-spi-nor-add-xtx-xt25f128b.patch
@@ -30,7 +30,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -1273,6 +1273,9 @@ static const struct flash_info spi_nor_i
+@@ -1275,6 +1275,9 @@ static const struct flash_info spi_nor_i
/* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
{ "XM25QH64A", INFO(0x207017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },