kernel: add patch to support en25qh256a
authorLeon M. Busch-George <leon@georgemail.eu>
Sat, 12 Nov 2022 18:31:32 +0000 (19:31 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 6 Jan 2023 18:22:52 +0000 (19:22 +0100)
commited7c1a504eae6b220e01da330c62c47d299e2c5d
treecaf9efb8a6db953e586f2e7ad46ba7bd64fd2817
parent4965cbd259bb9001e8724f53520f4be1e4723212
kernel: add patch to support en25qh256a

The EN25QH256A variant of the EN25QH256 doesn't initialize correctly from SFDP
alone and only accesses memory below 8m (addr_width is 4 but read_opcode takes
only 3 bytes).

Set SNOR_F_4B_OPCODES if the flash chip variant was detected using hwcaps.

The fix submitted upstream uses the PARSE_SFDP initializer that is not
available in the kernel used with Openwrt.

Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
target/linux/generic/backport-5.10/422-v5.19-mtd-spi-nor-support-eon-en25qh256a.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/422-v5.19-mtd-spi-nor-support-eon-en25qh256a.patch [new file with mode: 0644]
target/linux/generic/pending-5.10/476-mtd-spi-nor-add-eon-en25q128.patch
target/linux/generic/pending-5.10/477-mtd-spi-nor-add-eon-en25qx128a.patch
target/linux/generic/pending-5.15/476-mtd-spi-nor-add-eon-en25q128.patch
target/linux/generic/pending-5.15/477-mtd-spi-nor-add-eon-en25qx128a.patch