kernel: mtk_bmt: add support for limiting range of remapping
authorFelix Fietkau <nbd@nbd.name>
Sun, 9 Jan 2022 18:56:16 +0000 (19:56 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 13 Jan 2022 17:33:06 +0000 (18:33 +0100)
commitb86452f8414d921058d800922849691a0fcfe2a6
treed395e1b70fde40cef04d97f9e201214ed4311215
parent31b6cfb28890071acc0c044abf9c48843e4100ce
kernel: mtk_bmt: add support for limiting range of remapping

This can be used to support ubi on top of mtk_bmt without reflashing the
boot loader. The boot loader + factory + kernel area is covered, while the
rest is passed through as-is

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/files/drivers/mtd/nand/mtk_bmt.c