openwrt/target/linux/ramips
Michael Pratt 74516f4357 ramips: fix reboot for remaining 32 MB boards
The following devices have a Winbond W25Q256FV flash chip,
which does not have the RESET pin enabled by default,
and otherwise would require setting a bit in a status register.

Before moving to Linux 5.4, we had the patch:
0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch
which kept specific flash chips with explicit 3-byte and 4-byte address modes
to stay in 3-byte address mode while idle (after an erase or write)
by using a custom flag SPI_NOR_4B_READ_OP that was part of the patch.

this was obsoleted by the patch:
481-mtd-spi-nor-rework-broken-flash-reset-support.patch
which uses the newer upstream flag SNOR_F_BROKEN_RESET
for devices with a flash chip that cannot be hardware reset with RESET pin
and therefore must be left in 3-byte address mode when idle.

The new patch requires that the DTS of affected devices
have the property "broken-flash-reset", which was not yet added for most of them.

This commit adds the property for remaining affected devices in ramips target,
specifically because of the flash chip model.

However, it is possible that there are other devices
where the flash chip uses an explicit 4-byte address mode
and the RESET pin is not connected to the SOC on the board,
and those DTS would also need this property.

Ref: 22d982ea00 ("ramips: add support for switching between 3-byte and 4-byte addressing")
Ref: dfa521f129 ("generic: spi-nor: rework broken-flash-reset")
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2022-01-15 17:12:12 +01:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: fix reboot for remaining 32 MB boards 2022-01-15 17:12:12 +01:00
files/drivers ramips: aw9523: add can_sleep flag for GPIO chip 2021-12-29 03:43:03 +01:00
image ramips: add support for ipTIME A6004NS-M 2022-01-15 20:43:14 +09:00
mt76x8 ramips: add support for Joowin WR758AC V1 and V2 2022-01-08 00:49:59 +01:00
mt7620 ramips: add support for HUMAX E2 2022-01-15 20:05:46 +09:00
mt7621 ramips: enable badblock table support on linksys ea7xxx devices 2022-01-13 18:33:06 +01:00
patches-5.10 ramips: mt7621_nand: fix writing upper half of fdm data 2022-01-13 18:33:06 +01:00
rt288x kernel: filter out both Clang and LLD versions 2021-12-17 16:16:34 +01:00
rt305x kernel: filter out both Clang and LLD versions 2021-12-17 16:16:34 +01:00
rt3883 kernel: filter out both Clang and LLD versions 2021-12-17 16:16:34 +01:00
Makefile ramips: switch to kernel 5.10 2021-12-13 19:36:52 +01:00
modules.mk ramips: rename mtk-hsdma to hsdma-mt7621 2021-03-04 23:43:02 -10:00