aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.15/121-hack-spi-nand-1b-bbm.patch
Commit message (Collapse)AuthorAgeFilesLines
* kernel: backport MEMREAD ioctlMichał Kępień2023-04-181-2/+2
| | | | | | | | | MEMREAD is a new ioctl for MTD character devices that was first included in Linux 6.1. It allows userspace applications to use the Linux kernel's OOB autoplacement mechanism while reading data from NAND devices. The Yafut tool needs this ioctl to do its job. Signed-off-by: Michał Kępień <openwrt@kempniu.pl>
* mediatek: refresh patches for Linux 5.15Daniel Golle2022-04-301-2/+2
| | | | | | Run `make target/linux/refresh` to align patches with OpenWrt style. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: spi-nand: check for 1 byte BBM onlyChuanhong Guo2022-04-281-0/+20
the OOB layout in MTK SNFI uses the 2nd byte, and anything using OOB will make the block a bad-block in spi-nand driver. Hack it for now. We need a proper solution upstream. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>