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;
  unsigned int bbt_options;
  const char ** part_probe_types;
};  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
BBT option flags, e.g. NAND_BBT_USE_FLASH
NULL-terminated array of probe types