pxa3xx_nand.h 518 B

1234567891011121314151617181920
  1. #ifndef __ASM_ARCH_PXA3XX_NAND_H
  2. #define __ASM_ARCH_PXA3XX_NAND_H
  3. #include <linux/mtd/mtd.h>
  4. #include <linux/mtd/partitions.h>
  5. struct pxa3xx_nand_platform_data {
  6. /* the data flash bus is shared between the Static Memory
  7. * Controller and the Data Flash Controller, the arbiter
  8. * controls the ownership of the bus
  9. */
  10. int enable_arbiter;
  11. struct mtd_partition *parts;
  12. unsigned int nr_parts;
  13. };
  14. extern void pxa3xx_set_nand_info(struct pxa3xx_nand_platform_data *info);
  15. #endif /* __ASM_ARCH_PXA3XX_NAND_H */