other versions
- stretch 4.9.168-1
MARK_BBT_BLOCK_BAD(9) | Internal Functions Provided | MARK_BBT_BLOCK_BAD(9) |
NAME¶
mark_bbt_block_bad - Mark one of the block reserved for BBT badSYNOPSIS¶
void mark_bbt_block_bad(struct nand_chip * this, struct nand_bbt_descr * td, int chip, int block);
ARGUMENTS¶
thisthe NAND device
td
the BBT description
chip
the CHIP selector
block
the BBT block to mark
DESCRIPTION¶
Blocks reserved for BBT can become bad. This functions is an helper to mark such blocks as bad. It takes care of updating the in-memory BBT, marking the block as bad using a bad block marker and invalidating the associated td->pages[] entry.AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |