nand.h 636 B

123456789101112131415161718192021222324
  1. /*
  2. * arch/arm/plat-omap/include/mach/nand.h
  3. *
  4. * Copyright (C) 2006 Micron Technology Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <linux/mtd/partitions.h>
  11. struct omap_nand_platform_data {
  12. unsigned int options;
  13. int cs;
  14. int gpio_irq;
  15. struct mtd_partition *parts;
  16. int nr_parts;
  17. int (*nand_setup)(void __iomem *);
  18. int (*dev_ready)(struct omap_nand_platform_data *);
  19. int dma_channel;
  20. void __iomem *gpmc_cs_baseaddr;
  21. void __iomem *gpmc_baseaddr;
  22. };