openwrt/target/linux
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
..
adm5120
adm8668
apm821xx kernel: bump 4.9 to 4.9.57 2017-10-18 19:44:09 +03:00
ar7 ar7: add kernel 4.9 support 2017-10-29 23:41:00 +01:00
ar71xx ar71xx: fix board.bin used by QCA9886 in Archer C58/C59/C60 2017-10-27 00:45:32 +02:00
arc770 arc770: mark as source-only 2017-10-28 13:59:03 +02:00
archs38
armvirt
at91 at91: remove unused at91part driver 2017-10-22 15:17:42 +02:00
ath25
au1000
bcm53xx bcm53xx: Fix Generic profile description 2017-10-24 18:39:17 -07:00
brcm47xx brcm47xx: use kernel 4.9 by default 2017-10-18 23:27:17 +02:00
brcm63xx
brcm2708 kernel: bump 4.9 to 4.9.58 2017-10-23 17:23:34 +03:00
cns3xxx kernel: bump 4.9 to 4.9.57 2017-10-18 19:44:09 +03:00
gemini treewide: do not use IMG_PREFIX in Image/Prepare 2017-10-26 12:26:25 +02:00
generic kernel: enable CONFIG_ADVISE_SYSCALLS 2017-10-27 00:45:32 +02:00
imx6
ipq806x treewide: do not use IMG_PREFIX in Image/Prepare 2017-10-26 12:26:25 +02:00
ixp4xx
kirkwood
lantiq lantiq: xway: rename nas0/ptm0 to dsl0 2017-10-25 08:45:05 +02:00
layerscape layerscape: reverse changes to ndo_get_stats64 2017-10-29 16:16:35 +01:00
malta treewide: do not use IMG_PREFIX in Image/Prepare 2017-10-26 12:26:25 +02:00
mcs814x
mediatek kernel: bump 4.9 to 4.9.57 2017-10-18 19:44:09 +03:00
mpc85xx mpc85xx: use image metadata 2017-10-25 09:22:13 +02:00
mvebu
mxs
octeon
omap omap: clean up configuration 2017-10-18 21:46:05 +02:00
omap24xx
orion orion: Switch to 4.9 kernel 2017-10-24 18:39:17 -07:00
oxnas
pistachio
ppc40x
ppc44x
ramips ramips: add support for switching between 3-byte and 4-byte addressing on w25q256 flash 2017-11-02 15:58:45 +01:00
rb532
sunxi kernel: bump 4.9 to 4.9.58 2017-10-23 17:23:34 +03:00
uml uml: Switch to 4.9 kernel 2017-10-24 15:10:23 -07:00
x86
xburst
zynq
Makefile