[generic] mark the bad block table regions
void mark_bbt_region(struct mtd_info * mtd, struct nand_bbt_descr * td);
mtd
MTD device structure
td
bad block table descriptor
The bad block table regions are marked as “bad” to prevent accidental erasures / writes. The regions are identified by the mark 0x02.
Thomas Gleixner <[email protected]>
Author.