aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.15/477-mtd-spi-nor-add-eon-en25qx128a.patch
Commit message (Collapse)AuthorAgeFilesLines
* kernel: add patch to support en25qh256aLeon M. Busch-George2023-01-061-1/+1
| | | | | | | | | | | | | 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>
* generic: add support for EON EN25QX128A spi nor flashChristian Marangi2022-12-161-0/+21
Add support for EON EN25QX128A spi nor flash with no flags as it does support SFDP parsing. Fixes: #9442 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Tested-by: Szabolcs Hubai <szab.hu@gmail.com> [ramips/mt7621: xiaomi_mi-router-4a-gigabit]