spi: spi-qpic-snand: update driver with latest patches from upstream
authorGeorge Moussalem <george.moussalem@outlook.com>
Tue, 6 May 2025 06:02:27 +0000 (10:02 +0400)
committerRobert Marko <robimarko@gmail.com>
Thu, 8 May 2025 13:40:03 +0000 (15:40 +0200)
commitc5e359a2366d796984414284dda28479fb2c4939
tree54cc82070392cdab88f3546e8b85201d107c7f6c
parentcc50cac8a0fd0e12fc9e2a7fa7d14f99a2a5ffae
spi: spi-qpic-snand: update driver with latest patches from upstream

Updating the spi-qpic-snand driver with the latest patches sent
upstream and remove custom patches.
These patches add error handling fixes, use of right read location in
read ops, removal of unused variable, ability to read user config and
nand chip requirements, and support for 8bits ECC strength.

Tested on: Gl.iNet GL-B3000 & Linksys MR5500, MX2000, MX5500, SPNMX56

Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18723
Signed-off-by: Robert Marko <robimarko@gmail.com>
19 files changed:
target/linux/generic/backport-6.12/416-v6.15-05-spi-spi-qpic-snand-propagate-errors-from-qcom_spi_block_erase.patch [new file with mode: 0644]
target/linux/generic/backport-6.12/416-v6.15-05-spi-spi-qpic-snand-use-kmalloc-for-OOB-buffer-alloca.patch [deleted file]
target/linux/generic/backport-6.12/416-v6.15-06-spi-spi-qpic-snand-fix-NAND_READ_LOCATION_2-register-handling.patch [new file with mode: 0644]
target/linux/generic/backport-6.12/416-v6.15-07-spi-spi-qpic-snand-use-kmalloc-for-OOB-buffer-alloca.patch [new file with mode: 0644]
target/linux/generic/backport-6.12/416-v6.16-08-spi-spi-qpic-snand-remove-unused-wlen-member-of-struct-qpic_spi_nand.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/416-v6.15-05-spi-spi-qpic-snand-propagate-errors-from-qcom_spi_block_erase.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/416-v6.15-05-spi-spi-qpic-snand-use-kmalloc-for-OOB-buffer-alloca.patch [deleted file]
target/linux/generic/backport-6.6/416-v6.15-06-spi-spi-qpic-snand-fix-NAND_READ_LOCATION_2-register-handling.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/416-v6.15-07-spi-spi-qpic-snand-use-kmalloc-for-OOB-buffer-alloca.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/416-v6.16-08-spi-spi-qpic-snand-remove-unused-wlen-member-of-struct-qpic_spi_nand.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/416-09-next-spi-spi-qpic-snand-validate-user-chip-specific-ECC-properties.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/416-10-next-1-2-mtd-nand-qpic-common-add-defines-for-ECC_MODE-values.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/416-11-next-2-2-spi-spi-qpic-snand-add-support-for-8-bits-ECC-strength.patch [new file with mode: 0644]
target/linux/generic/pending-6.6/416-09-next-spi-spi-qpic-snand-validate-user-chip-specific-ECC-properties.patch [new file with mode: 0644]
target/linux/generic/pending-6.6/416-10-next-1-2-mtd-nand-qpic-common-add-defines-for-ECC_MODE-values.patch [new file with mode: 0644]
target/linux/generic/pending-6.6/416-11-next-2-2-spi-spi-qpic-snand-add-support-for-8-bits-ECC-strength.patch [new file with mode: 0644]
target/linux/qualcommax/patches-6.6/0411-spi-spi-qpic-snand-support-BCH8.patch [deleted file]
target/linux/qualcommax/patches-6.6/0412-mtd-spinand-qpic-only-support-max-4-bytes-ID.patch [deleted file]
target/linux/qualcommax/patches-6.6/0413-spi-spi-qpic-snand-add-user-config-support.patch [deleted file]