openwrt/target/linux
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
..
apm821xx kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
arc770 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
archs38 archs38: Add CONFIG_HZ=100 2021-03-19 18:01:55 +01:00
armvirt target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
at91 at91: use SPDX license identifiers on DTS files 2021-02-10 15:47:23 +01:00
ath25 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
ath79 ath79: cfi: cmdset_0002: amd chip 0x2201 - write words 2021-03-27 07:46:48 +01:00
bcm27xx bcm27xx: bcm2711: correctly disable HW_RANDOM_BCM2835 2021-03-22 08:09:13 +01:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-17 23:38:46 +01:00
bcm53xx bcm53xx: backport first 5.13 DTS changes 2021-03-17 23:38:46 +01:00
bcm63xx bcm63xx: AD1018-nor: add NAND flash 2021-03-08 12:46:46 +01:00
bcm4908 bcm4908: backport recent bcm_sf2 changes 2021-03-17 21:24:24 +01:00
gemini target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
generic kernel: backport Broadcom NVRAM driver cleanups 2021-03-17 23:38:46 +01:00
imx6 Revert "imx6: bootscript-apalis: make it working on v2021.01 release" 2021-02-14 23:28:07 +01:00
ipq40xx kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
ipq806x kernel: add the latest mtd patch extending ofpart parser 2021-03-17 21:23:38 +01:00
kirkwood kernel: add pending mtd patches adding NVMEM support 2021-03-17 21:24:22 +01:00
lantiq kernel: add pending mtd patches adding NVMEM support 2021-03-17 21:24:22 +01:00
layerscape kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
malta target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mediatek kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
mpc85xx mpc85xx: p2020: fix cfi-nor detection 2021-03-01 21:49:55 +01:00
mvebu mvebu: add LED support for GL.iNet GL-MV1000 2021-03-22 21:05:41 +01:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon octeon: re-enable CONFIG_CAVIUM_CN63XXP1 and EdgeRouter image 2021-02-28 21:56:39 +01:00
octeontx kernel: bump 5.4 to 5.4.105 2021-03-16 00:31:16 +01:00
omap target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
oxnas target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
pistachio kernel: add pending mtd patches adding NVMEM support 2021-03-17 21:24:22 +01:00
ramips ramips: add support for ELECOM WRC-1750GST2 2021-03-22 21:07:34 +01:00
realtek kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
rockchip target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
sunxi kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
tegra target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 kernel: bump 5.4 to 5.4.105 2021-03-16 00:31:16 +01:00
zynq target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00