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 union {unnamed_union};
12 unsigned int pagesize;
13 unsigned int chipsize;
14 unsigned int erasesize;
15 unsigned int options;
16 uint16_t id_len;
17 uint16_t oobsize;
18 };
19
21 name
22 a human-readable name of the NAND chip
23
24 {unnamed_union}
25 anonymous
26
27 pagesize
28 size of the NAND page in bytes; if 0, then the real page size (as
29 well as the eraseblock size) is determined from the extended NAND
30 chip ID array)
31
32 chipsize
33 total chip size in MiB
34
35 erasesize
36 eraseblock size in bytes (determined from the extended ID if 0)
37
38 options
39 stores various chip bit options
40
41 id_len
42 The valid length of the id.
43
44 oobsize
45 OOB size
46
48 Thomas Gleixner <tglx@linutronix.de>
49 Author.
50
52Kernel Hackers Manual 3.10 June 2019 STRUCT NAND_FLASH_DE(9)