openwrt/target/linux/mediatek/files-5.10/drivers/mtd/mtk-snand
Chuanhong Guo 388127abd1 mediatek: mtk-snand: check request size against chip info
mtd->size will be overrided by BMT which makes all mtd requests made by
bmt fail in request size checking.
this commit changes the driver to check against actual chip size in chip
info as a workaround.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2021-08-27 10:26:25 +08:00
..
Kconfig mediatek: add a new spi-nand driver for kernel 5.10 2021-08-27 10:26:24 +08:00
Makefile mediatek: add a new spi-nand driver for kernel 5.10 2021-08-27 10:26:24 +08:00
mtk-snand-def.h mediatek: add a new spi-nand driver for kernel 5.10 2021-08-27 10:26:24 +08:00
mtk-snand-ecc.c mediatek: add a new spi-nand driver for kernel 5.10 2021-08-27 10:26:24 +08:00
mtk-snand-ids.c mediatek: add a new spi-nand driver for kernel 5.10 2021-08-27 10:26:24 +08:00
mtk-snand-mtd.c mediatek: mtk-snand: check request size against chip info 2021-08-27 10:26:25 +08:00
mtk-snand-os.c mediatek: add a new spi-nand driver for kernel 5.10 2021-08-27 10:26:24 +08:00
mtk-snand-os.h mediatek: add a new spi-nand driver for kernel 5.10 2021-08-27 10:26:24 +08:00
mtk-snand.c mediatek: add a new spi-nand driver for kernel 5.10 2021-08-27 10:26:24 +08:00
mtk-snand.h mediatek: add a new spi-nand driver for kernel 5.10 2021-08-27 10:26:24 +08:00