1NAND_BLOCK_BAD(9) Internal Functions Provided NAND_BLOCK_BAD(9)
23
4
NAME
6nand_block_bad - [DEFAULT] Read bad block marker from the chip
7
SYNOPSIS
9int nand_block_bad(struct mtd_info * mtd, loff_t ofs, int getchip);
10
ARGUMENTS
12mtd
13MTD device structure
1415
ofs
16offset from device start
1718
getchip
190, if the chip is already selected
20
DESCRIPTION
22Check, if the block is bad.
23
AUTHOR
25Thomas Gleixner <tglx@linutronix.de>
26Author.
27
COPYRIGHT
29Kernel Hackers Manual 3.10 June 2019 NAND_BLOCK_BAD(9)