aboutsummaryrefslogtreecommitdiff
path: root/target/linux/generic/files/drivers/mtd/nand/mtk_bmt.h
Commit message (Collapse)AuthorAge
* kernel: mtk-bmt: fix usage of _oob_readChuanhong Guo2023-01-21
| | | | | | | | _oob_read returns number of bitflips on success while bbt_nand_read should return 0. Fixes: 2d49e49b18 ("mediatek: bmt: use generic mtd api") Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* kernel: add support for mediatek NMBM flash mapping supportFelix Fietkau2022-03-25
| | | | | | | This NAND flash remapping method is used on newer MediaTek devices with NAND flash. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: mtk_bmt: allow get_mapping_block to return an errorFelix Fietkau2022-03-25
| | | | | | | Used by the mapping implementation to indicate that no backing block is available Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: split up mtk_bmt driver codeFelix Fietkau2022-03-25
Keep a separate source file per variant Signed-off-by: Felix Fietkau <nbd@nbd.name>