diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2018-10-18 11:07:26 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-10-20 16:13:39 +0200 |
commit | b2c68ceea76a41a484d24a12d20c6988dd59e83f (patch) | |
tree | 7688664133ddcd375bf922713889f8cee47eab8d /target/linux/ramips/patches-4.14/0054-mtd-spi-nor-w25q256-respect-default-mode.patch | |
parent | d27d87c9109e12485bc3a709c8dea1ce05f9f81c (diff) | |
download | upstream-b2c68ceea76a41a484d24a12d20c6988dd59e83f.tar.gz upstream-b2c68ceea76a41a484d24a12d20c6988dd59e83f.tar.bz2 upstream-b2c68ceea76a41a484d24a12d20c6988dd59e83f.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>
Diffstat (limited to 'target/linux/ramips/patches-4.14/0054-mtd-spi-nor-w25q256-respect-default-mode.patch')
-rw-r--r-- | target/linux/ramips/patches-4.14/0054-mtd-spi-nor-w25q256-respect-default-mode.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-4.14/0054-mtd-spi-nor-w25q256-respect-default-mode.patch b/target/linux/ramips/patches-4.14/0054-mtd-spi-nor-w25q256-respect-default-mode.patch index 568d61db91..99a9c2e53f 100644 --- a/target/linux/ramips/patches-4.14/0054-mtd-spi-nor-w25q256-respect-default-mode.patch +++ b/target/linux/ramips/patches-4.14/0054-mtd-spi-nor-w25q256-respect-default-mode.patch @@ -33,7 +33,7 @@ /* * Write status register 1 byte * Returns negative if error occurred. -@@ -2878,9 +2887,16 @@ int spi_nor_scan(struct spi_nor *nor, co +@@ -2883,9 +2892,16 @@ int spi_nor_scan(struct spi_nor *nor, co } else if (mtd->size > 0x1000000) { /* enable 4-byte addressing if the device exceeds 16MiB */ nor->addr_width = 4; |