1STRUCT PLATFORM_NAND(9) Structures STRUCT PLATFORM_NAND(9)
2
3
4
6 struct_platform_nand_chip - chip level device structure
7
9 struct platform_nand_chip {
10 int nr_chips;
11 int chip_offset;
12 int nr_partitions;
13 struct mtd_partition * partitions;
14 struct nand_ecclayout * ecclayout;
15 int chip_delay;
16 unsigned int options;
17 unsigned int bbt_options;
18 const char ** part_probe_types;
19 };
20
22 nr_chips
23 max. number of chips to scan for
24
25 chip_offset
26 chip number offset
27
28 nr_partitions
29 number of partitions pointed to by partitions (or zero)
30
31 partitions
32 mtd partition list
33
34 ecclayout
35 ECC layout info structure
36
37 chip_delay
38 R/B delay value in us
39
40 options
41 Option flags, e.g. 16bit buswidth
42
43 bbt_options
44 BBT option flags, e.g. NAND_BBT_USE_FLASH
45
46 part_probe_types
47 NULL-terminated array of probe types
48
50 Thomas Gleixner <tglx@linutronix.de>
51 Author.
52
54Kernel Hackers Manual 3.10 June 2019 STRUCT PLATFORM_NAND(9)