diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2018-10-18 11:08:20 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2018-11-07 11:41:59 +0100 |
commit | aa0aa47aa176133ff302c4a5cea785d971bc26b3 (patch) | |
tree | 61e30f9737eaafdba507a32a6beb32ceaea33c4e /target/linux/pistachio | |
parent | 44084d89f2b0f60ba6d0d480ebf4d944c1ebe57d (diff) | |
download | upstream-aa0aa47aa176133ff302c4a5cea785d971bc26b3.tar.gz upstream-aa0aa47aa176133ff302c4a5cea785d971bc26b3.tar.bz2 upstream-aa0aa47aa176133ff302c4a5cea785d971bc26b3.zip |
kernel: Add support for Winbond w25q128jv SPI NOR flash
Newer batches of several Mikrotik boards contain this yet-unsupported
flash chip, for instance:
- rb941-2nd (hAP lite)
- rb952ui-5ac2nd (hAP ac lite)
- RBM33G
and probably other Mikrotik boards need this patch as well.
The patch was submitted upstream by Robert Marko: https://patchwork.ozlabs.org/patch/934181/
Closes: FS#1715
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Cc: Robert Marko <robimarko@gmail.com>
[Rebased + refreshed on current kernels]
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/pistachio')
-rw-r--r-- | target/linux/pistachio/patches-4.14/401-mtd-nor-support-mtd-name-from-device-tree.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/pistachio/patches-4.14/401-mtd-nor-support-mtd-name-from-device-tree.patch b/target/linux/pistachio/patches-4.14/401-mtd-nor-support-mtd-name-from-device-tree.patch index 47b6b17769..59d9e74d45 100644 --- a/target/linux/pistachio/patches-4.14/401-mtd-nor-support-mtd-name-from-device-tree.patch +++ b/target/linux/pistachio/patches-4.14/401-mtd-nor-support-mtd-name-from-device-tree.patch @@ -10,7 +10,7 @@ Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com> --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c -@@ -2656,6 +2656,7 @@ int spi_nor_scan(struct spi_nor *nor, co +@@ -2661,6 +2661,7 @@ int spi_nor_scan(struct spi_nor *nor, co struct device *dev = nor->dev; struct mtd_info *mtd = &nor->mtd; struct device_node *np = spi_nor_get_flash_node(nor); @@ -18,7 +18,7 @@ Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com> int ret; int i; -@@ -2731,7 +2732,12 @@ int spi_nor_scan(struct spi_nor *nor, co +@@ -2736,7 +2737,12 @@ int spi_nor_scan(struct spi_nor *nor, co spi_nor_wait_till_ready(nor); } |