struct platform_nand_chip — chip level device structure
struct platform_nand_chip { int nr_chips; int chip_offset; int nr_partitions; struct mtd_partition * partitions; struct nand_ecclayout * ecclayout; int chip_delay; unsigned int options; const char ** part_probe_types; void (* set_parts) (uint64_t size, struct platform_nand_chip *chip); void * priv; };
max. number of chips to scan for
chip number offset
number of partitions pointed to by partitions (or zero)
mtd partition list
ecc layout info structure
R/B delay value in us
Option flags, e.g. 16bit buswidth
NULL-terminated array of probe types
platform specific function to set partitions
hardware controller specific settings