kernel: add support for mediatek NMBM flash mapping support
authorFelix Fietkau <nbd@nbd.name>
Thu, 10 Mar 2022 14:31:25 +0000 (15:31 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 10 Oct 2022 10:58:29 +0000 (12:58 +0200)
commitbb5d415b19075aea3764387fc36667879897468a
treef435718dc31b4a091aa9f1253f513c9c8ec18994
parent737ee934d2cb0878638037bac3e957fc2547c4f8
kernel: add support for mediatek NMBM flash mapping support

This NAND flash remapping method is used on newer MediaTek devices with NAND
flash.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 06382d1af7b2c5afcde605db436522326fbf5467)
target/linux/generic/files/drivers/mtd/nand/mtk_bmt.c
target/linux/generic/files/drivers/mtd/nand/mtk_bmt.h
target/linux/generic/files/drivers/mtd/nand/mtk_bmt_nmbm.c [new file with mode: 0644]
target/linux/generic/hack-5.10/430-mtk-bmt-support.patch