openwrt/target/linux/ath79
Mauri Sandberg 8cc0fa8fac 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>
2021-03-22 09:23:10 +01:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-28 16:23:03 +02:00
dts ath79: fix RS-485 on Teltonika RUT-955 2021-03-17 17:41:24 +00:00
files ath79: use ioremap kernel version independent 2021-02-22 00:55:42 +01:00
generic ath79: fix lan port display order for sitecom wlr-7100 2021-03-21 22:45:20 +01:00
image treewide: make AddDepends/usb-serial selective 2021-03-06 12:38:38 +01:00
mikrotik treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
nand treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
patches-5.4 ath79: cfi: cmdset_0002: amd chip 0x2201 - write words 2021-03-22 09:23:10 +01:00
patches-5.10 ath79: replace chipselect workaround with a proper patch 2021-03-05 00:03:47 +01:00
tiny treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
config-5.4 ath79: enable Regulator support for target 2021-02-22 00:57:25 +01:00
config-5.10 ath79: enable AT803X PHY for kernel 5.10 2021-03-05 00:03:57 +01:00
Makefile ath79: add kernel 5.10 support 2021-02-20 01:26:33 +01:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00