- int nand_scan_ident(struct mtd_info * mtd, int maxchips, struct nand_flash_dev * table);
- MTD device structure
- number of chips to scan for
- alternative NAND ID table
This is the first phase of the normal nand_scan function. It reads the flash ID and sets up MTD fields accordingly.
The mtd->owner field must be set to the module of the caller.
Thomas Gleixner <[email protected]>