aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/combined-image.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-07-20 12:57:44 +0200
committerFelix Fietkau <nbd@nbd.name>2017-11-02 15:58:45 +0100
commit22d982ea003360d86ff1fef5114fb41dfa09ce9b (patch)
tree75ff15cf3401bca8d36f5afe9c1f5927dde805e4 /scripts/combined-image.sh
parentf90f94d2c183dde6c214bc5068c33085d5f53290 (diff)
downloadupstream-22d982ea003360d86ff1fef5114fb41dfa09ce9b.tar.gz
upstream-22d982ea003360d86ff1fef5114fb41dfa09ce9b.tar.bz2
upstream-22d982ea003360d86ff1fef5114fb41dfa09ce9b.zip
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>
Diffstat (limited to 'scripts/combined-image.sh')
0 files changed, 0 insertions, 0 deletions