openwrt/target/linux/ramips/patches-4.14
Daniel Golle cc7fa7fcec ramips: fix reboot with W25Q256 with 4-address-mode enabled
Some board vendors actually changed the loader to expect the chip
to come up in 4-address-mode and flipped the ADP bit in the flash
chip's configuration register which makes it come up in 4-address-mode.
Hence it doesn't make sense to avoid switching to 4-address-mode on
those boards but the opposite as otherwise reboot hangs eg. on the
WrtNode2 boards. Fix this by checking the ADP register and only using
SPI_NOR_4B_READ_OP on chips which have ADP==0 (come up in 3-byte mode).

See also datasheet section 7.1.11 Power Up Address Mode (ADP)

Fixes: 22d982ea0 ("ramips: add support for switching between 3-byte and 4-byte addressing on w25q256 flash")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(backported from 8796680277)
2018-12-18 09:43:58 +01:00
..
0004-MIPS-ralink-add-MT7621-pcie-driver.patch Revert "ramips: Move PCI driver to files directory" 2018-06-01 21:03:27 +02:00
0005-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
0006-MIPS-ralink-add-cpu-frequency-scaling.patch
0007-MIPS-ralink-copy-the-commandline-from-the-devicetree.patch
0009-PCI-MIPS-enable-PCIe-on-MT7688.patch
0013-owrt-hack-fix-mt7688-cache-issue.patch kernel: bump 4.14 to 4.14.23 2018-03-02 21:33:08 +01:00
0015-arch-mips-do-not-select-illegal-access-driver-by-def.patch
0024-GPIO-add-named-gpio-exports.patch kernel: bump 4.14 to 4.14.75 2018-10-10 14:46:25 +02:00
0025-pinctrl-ralink-add-pinctrl-driver.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:47 +01:00
0026-DT-Add-documentation-for-gpio-ralink.patch
0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
0028-GPIO-ralink-add-mt7621-gpio-controller.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:47 +01:00
0031-uvc-add-iPassion-iP2970-support.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:47 +01:00
0032-USB-dwc2-add-device_reset.patch kernel: bump 4.14 to 4.14.67 2018-08-28 23:06:48 +02:00
0034-NET-multi-phy-support.patch kernel: update kernel 4.14 to 4.14.32 2018-04-03 23:26:45 +02:00
0037-mtd-cfi-cmdset-0002-force-word-write.patch kernel: bump 4.14 to 4.14.60 for 18.06 2018-08-06 07:30:41 +02:00
0039-mtd-add-mt7621-nand-support.patch ramips: clean up and fix MT7621 NAND driver issues 2018-07-13 17:01:41 +02:00
0040-nand-hack.patch ramips: clean up the mt7621 nand flash driver hacks, add support for the xiaomi mir3g flash chip 2018-05-08 17:56:04 +02:00
0041-DT-Add-documentation-for-spi-rt2880.patch
0042-SPI-ralink-add-Ralink-SoC-spi-driver.patch
0043-spi-add-mt7621-support.patch kernel: bump 4.14 to 4.14.43 for 18.06 2018-05-24 16:04:09 +02:00
0044-i2c-MIPS-adds-ralink-I2C-driver.patch
0045-i2c-add-mt7621-driver.patch
0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch ramips: move mtk-mmc driver code out of patches-*/ and into files-*/ 2018-04-05 18:12:30 +02:00
0047-DMA-ralink-add-rt2880-dma-engine.patch
0048-asoc-add-mt7620-support.patch
0051-serial-add-ugly-custom-baud-rate-hack.patch kernel: bump 4.14 to 4.14.70 for 18.06 2018-09-17 15:47:44 +02:00
0052-pwm-add-mediatek-support.patch
0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch kernel: Add support for Winbond w25q128jv SPI NOR flash 2018-11-07 11:41:59 +01:00
0054-mtd-spi-nor-w25q256-respect-default-mode.patch ramips: fix reboot with W25Q256 with 4-address-mode enabled 2018-12-18 09:43:58 +01:00
0069-awake-rt305x-dwc2-controller.patch
0070-weak_reordering.patch
0090-ethernet.patch
0098-disable_cm.patch
0099-pci-mt7620.patch
100-mt7621-core-detect-hack.patch
0100-prom_fixes.patch
101-mt7621-timer.patch
110-mt7621-perfctr-fix.patch ramips: fix spurious IRQ7 events when using perf on 4.14 2018-02-27 17:30:33 +01:00
0200-linkit_bootstrap.patch
302-spi-nor-add-gd25q512.patch
303-spi-nor-enable-4B-opcodes-for-mx66l51235l.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:47 +01:00
998-mt7621-needs-jiffies.patch
999-fix-pci-init-mt7620.patch