kernel: Add support for Winbond w25q128jv SPI NOR flash
[openwrt/staging/chunkeey.git] / target / linux / ramips / patches-4.14 / 0054-mtd-spi-nor-w25q256-respect-default-mode.patch
index 568d61db91ffb7286bc6a0cbea6951fb9f8f2152..99a9c2e53ff40d2e55ce2b54b6b9bb34d1487256 100644 (file)
@@ -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;