openwrt/target/linux/ath79/patches-5.4
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
..
004-register_gpio_driver_earlier.patch
404-mtd-cybertan-trx-parser.patch kernel: add the latest mtd patch extending ofpart parser 2021-03-17 21:23:38 +01:00
408-mtd-redboot_partition_scan.patch
410-spi-ath79-Implement-the-spi_mem-interface.patch kernel: bump 5.4 to 5.4.32 2020-04-14 21:58:16 +02:00
420-net-use-downstream-ag71xx.patch ath79: use downstream ag71xx for Kernel 5.4 2020-03-13 20:43:57 +01:00
425-at803x-allow-sgmii-aneg-override.patch
430-drivers-link-spi-before-mtd.patch
440-mtd-ar934x-nand-driver.patch
450-fix-block-protection-clearing.patch kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch
471-mtd-cfi_cmdset_0002-AMD-chip-0x2201-write-words.patch ath79: cfi: cmdset_0002: amd chip 0x2201 - write words 2021-03-27 07:46:48 +01:00
900-mdio_bitbang_ignore_ta_value.patch
901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch
910-unaligned_access_hacks.patch kernel: bump 5.4 to 5.4.96 2021-02-08 16:34:18 +01:00
920-mikrotik-rb4xx.patch ath79: add Mikrotik rb4xx series drivers 2020-06-15 21:16:18 +02:00
921-serial-core-add-support-for-boot-console-with-arbitr.patch kernel: bump 5.4 to 5.4.86 2021-01-01 17:07:28 +01:00
930-ar8216-make-reg-access-atomic.patch ath79: ar8216: make switch register access atomic 2020-09-30 15:56:05 +08:00
0001-MIPS-cmdline-Clean-up-boot_command_line-initializati.patch kernel: bump 5.4 to 5.4.86 2021-01-01 17:07:28 +01:00
0002-watchdog-ath79-fix-maximum-timeout.patch
0003-leds-add-reset-controller-based-driver.patch
0004-phy-add-ath79-usb-phys.patch ath79: phy-ar7200-usb: do not print error on defered init 2020-06-03 16:49:28 +02:00
0005-usb-add-more-OF-quirk-properties.patch kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
0007-irqchip-irq-ath79-intc-add-irq-cascade-driver-for-QC.patch
0008-irqchip-irq-ath79-cpu-drop-OF-init-helper.patch
0017-dt-bindings-PCI-qcom-ar7100-adds-binding-doc.patch
0018-MIPS-pci-ar71xx-convert-to-OF.patch
0019-dt-bindings-PCI-qcom-ar7240-adds-binding-doc.patch
0020-MIPS-pci-ar724x-convert-to-OF.patch
0032-MIPS-ath79-sanitize-symbols.patch kernel: bump 5.4 to 5.4.58 2020-08-18 18:14:54 +02:00
0033-spi-ath79-drop-pdata-support.patch
0034-MIPS-ath79-ath9k-exports.patch
0036-GPIO-add-named-gpio-exports.patch ath79: re-add accidentally dropped patch to kernel 5.4 2020-03-06 13:14:02 +01:00
0036-MIPS-ath79-remove-irq-code-from-pci.patch
0037-missing-registers.patch
0038-MIPS-ath79-add-missing-QCA955x-GMAC-registers.patch
0039-MIPS-ath79-export-UART1-reference-clock.patch
0050-spi-ath79-remove-spi-master-setup-and-cleanup-assign.patch spi: ath79: remove spi-master setup and cleanup assignment 2020-02-29 00:54:41 +01:00
0051-spi-add-driver-for-ar934x-spi-controller.patch
0061-tty-serial-ar933x-uart-rs485-gpio.patch ath79: drop upstreamed patch 2021-01-01 19:14:06 +01:00
0062-MIPS-pci-ar724x-add-QCA9550-reset-sequence.patch ath79: add QCA9550 reset sequence 2020-04-17 13:23:06 +02:00