[nand interface] scan for the nand device
int nand_scan(struct mtd_info * mtd, int maxchips);
mtd
MTD device structure
maxchips
number of chips to scan for
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. The mtd->owner field must be set to the module of the caller.
Thomas Gleixner <[email protected]>
Author.