openwrtv3/target/linux/ramips
Felix Fietkau 22d982ea00 ramips: add support for switching between 3-byte and 4-byte addressing on w25q256 flash
On some devices the flash chip needs to be in 3-byte addressing mode during
reboot, otherwise the boot loader will fail to start.
This mode however does not allow regular reads/writes onto the upper 16M
half. W25Q256 has separate read commands for reading from >16M, however
it does not have any separate write commands.
This patch changes the code to leave the chip in 3-byte mode most of the
time and only switch during erase/write cycles that go to >16M
addresses.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-11-02 15:58:45 +01:00
..
base-files ramips: fix Youku-YK1 support 2017-10-27 11:19:38 +02:00
dts ramips: fix Youku-YK1 support 2017-10-27 11:19:38 +02:00
files-4.9/drivers/net/ethernet/mtk ramips: reduce napi_weight in the ethernet driver. 2017-09-28 09:22:02 +02:00
image ramips: fix Youku-YK1 support 2017-10-27 11:19:38 +02:00
mt76x8 ramips: merge mt7628/mt7688 into mt76x8 2017-08-30 17:05:10 +02:00
mt7620 ramips: drop stray kernel 4.4 configs 2017-07-27 09:17:25 +02:00
mt7621 ramips: drop stray kernel 4.4 configs 2017-07-27 09:17:25 +02:00
patches-4.9 ramips: add support for switching between 3-byte and 4-byte addressing on w25q256 flash 2017-11-02 15:58:45 +01:00
rt288x ramips: drop stray kernel 4.4 configs 2017-07-27 09:17:25 +02:00
rt305x ramips: drop stray kernel 4.4 configs 2017-07-27 09:17:25 +02:00
rt3883 ramips: drop stray kernel 4.4 configs 2017-07-27 09:17:25 +02:00
Makefile ramips: merge mt7628/mt7688 into mt76x8 2017-08-30 17:05:10 +02:00
modules.mk ramips: fix mt76x8 dependencies 2017-09-05 08:08:36 +02:00