nand_scan(9)
nand_scan – [NAND Interface] Scan for the NAND device
Synopsis
int nand_scan(struct mtd_info *mtd, int maxchips);Arguments
mtd
- MTD device structure
maxchips
- number of chips to scan for
Description
This fills out all the uninitialized function pointers with the defaults. The flash ID is read and the mtd/chip structures are filled with the appropriate values.
Author
Thomas Gleixner <tglx [at] linutronix.de>
- Author.