nand-gpio.h 363 B

1234567891011121314151617181920
  1. #ifndef __LINUX_MTD_NAND_GPIO_H
  2. #define __LINUX_MTD_NAND_GPIO_H
  3. #include <linux/mtd/nand.h>
  4. struct gpio_nand_platdata {
  5. int gpio_nce;
  6. int gpio_nwp;
  7. int gpio_cle;
  8. int gpio_ale;
  9. int gpio_rdy;
  10. void (*adjust_parts)(struct gpio_nand_platdata *, size_t);
  11. struct mtd_partition *parts;
  12. unsigned int num_parts;
  13. unsigned int options;
  14. int chip_delay;
  15. };
  16. #endif