struct nand_flash_dev — NAND Flash Device ID Structure
struct nand_flash_dev { char * name; int id; unsigned long pagesize; unsigned long chipsize; unsigned long erasesize; unsigned long options; };
Identify the device type
device ID code
Pagesize in bytes. Either 256 or 512 or 0 If the pagesize is 0, then the real pagesize and the eraseize are determined from the extended id bytes in the chip
Total chipsize in Mega Bytes
Size of an erase block in the flash device.
Bitfield to store chip relevant options