openwrt/target/linux/ath79
Mauri Sandberg 8e8fe69a8e ath79: cfi: cmdset_0002: amd chip 0x2201 - write words
Generally, in upstream CFI flash memory driver uses buffers for write
operations. That does not work with AMD chip with id 0x2201 and we must
resort to writing word sized chunks only. That is, to not apply general
buffer write functionality for this given chip.

Without the patch kernel logs will be flooded with entries like below:

MTD do_erase_oneblock(): ERASE 0x01fa0000
MTD do_write_buffer(): WRITE 0x01fa0000(0x00001985)
MTD do_erase_oneblock(): ERASE 0x01f80000
MTD do_write_buffer(): WRITE 0x01f80000(0x00001985)
MTD do_write_buffer_wait(): software timeout, address:0x01f8000a.
jffs2: Write clean marker to block at 0x01a60000 failed: -5
MTD do_erase_oneblock(): ERASE 0x01f60000
MTD do_write_buffer(): WRITE 0x01f60000(0x00001985)
MTD do_write_buffer_wait(): software timeout, address:0x01f6000a.
jffs2: Write clean marker to block at 0x01a40000 failed: -5

References: http://patchwork.ozlabs.org/project/linux-mtd/patch/20210309174859.362060-1-sandberg@mailfence.com/
Signed-off-by: Mauri Sandberg <sandberg@mailfence.com>
[added link to usptream fix submission]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 8cc0fa8fac)
2021-03-27 07:46:48 +01:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-28 16:23:03 +02:00
dts ath79: enable UART node for GL-USB150 2021-02-25 15:13:13 +01:00
files ath79: ag71xx: add ethtool statistics support 2021-02-01 00:48:12 +01:00
generic ath79: fix lan port display order for sitecom wlr-7100 2021-03-22 21:06:40 +01:00
image ath79: fix factory image generation for Netgear and Zyxel boards 2021-02-14 19:21:38 +01:00
mikrotik ath79: remove generic profiles 2021-01-27 21:31:20 +01:00
nand ath79: remove generic profiles 2021-01-27 21:31:20 +01:00
patches-5.4 ath79: cfi: cmdset_0002: amd chip 0x2201 - write words 2021-03-27 07:46:48 +01:00
tiny ath79: make all eth ports LAN for Engenius APs 2021-02-08 16:34:18 +01:00
config-5.4 ath79: enable elf mtd splitter 2020-09-09 20:41:50 +03:00
Makefile ath79: move the squashfs feature to the parent target 2020-11-23 13:20:53 +01:00
modules.mk