nand_scan_ident — [NAND Interface] Scan for the NAND device
int nand_scan_ident ( | struct mtd_info * mtd, |
| int maxchips, | |
struct nand_flash_dev * table); |
struct mtd_info * mtdMTD device structure
int maxchipsnumber of chips to scan for
struct nand_flash_dev * tablealternative 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.