1STRUCT NAND_FLASH_DE(9) Structures STRUCT NAND_FLASH_DE(9)
2
3
4
6 struct_nand_flash_dev - NAND Flash Device ID Structure
7
9 struct nand_flash_dev {
10 char * name;
11 int id;
12 unsigned long pagesize;
13 unsigned long chipsize;
14 unsigned long erasesize;
15 unsigned long options;
16 };
17
19 name
20 Identify the device type
21
22 id
23 device ID code
24
25 pagesize
26 Pagesize in bytes. Either 256 or 512 or 0 If the pagesize is 0,
27 then the real pagesize and the eraseize are determined from the
28 extended id bytes in the chip
29
30 chipsize
31 Total chipsize in Mega Bytes
32
33 erasesize
34 Size of an erase block in the flash device.
35
36 options
37 Bitfield to store chip relevant options
38
40 Thomas Gleixner <tglx@linutronix.de>
41 Author.
42
44Kernel Hackers Manual 2.6. November 2011 STRUCT NAND_FLASH_DE(9)