nand_scan_bbt(9)

nand_scan_bbt9

[nand interface] scan, find, read and maybe create bad block table(s)

Usage

int nand_scan_bbt(struct mtd_info * mtd, struct nand_bbt_descr * bd);

Arguments

mtd

MTD device structure

bd

descriptor for the good/bad block search pattern

Overview

The function checks, if a bad block table(s) is/are already available. If not it scans the device for manufacturer marked good / bad blocks and writes the bad block table(s) to the selected place.

The bad block table memory is allocated here. It must be freed by calling the nand_free_bbt function.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Thomas Gleixner <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.