[PATCH] mediatek: bmt: use generic mtd api

Felix Fietkau nbd at nbd.name
Sat Dec 4 13:50:24 PST 2021


On 2021-12-04 15:24, Chuanhong Guo wrote:
> BMT replaces nand-specific ops for erasing and writing, but the
> mtk-snand driver only implements generic mtd api.
> 
> Replace erase, block_isbad, block_markbad in mtd_info for generic mtd
> drivers.
> 
> Fixes: b600aee3ed ("mediatek: attach bmt to the new snand driver")
> Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
Tested on mt7622-rfb1 and pushed to master.

Thanks,

- Felix



More information about the openwrt-devel mailing list