blob: eb4b190b6657256898dfbc2da475a32a98ee6f4d [file] [log] [blame]
eric miaofe69af02008-02-14 15:48:23 +08001#ifndef __ASM_ARCH_PXA3XX_NAND_H
2#define __ASM_ARCH_PXA3XX_NAND_H
3
4#include <linux/mtd/mtd.h>
5#include <linux/mtd/partitions.h>
6
7struct pxa3xx_nand_platform_data {
8
9 /* the data flash bus is shared between the Static Memory
10 * Controller and the Data Flash Controller, the arbiter
11 * controls the ownership of the bus
12 */
13 int enable_arbiter;
14
15 struct mtd_partition *parts;
16 unsigned int nr_parts;
17};
Eric Miao9ae819a2008-06-02 15:22:03 +080018
19extern void pxa3xx_set_nand_info(struct pxa3xx_nand_platform_data *info);
eric miaofe69af02008-02-14 15:48:23 +080020#endif /* __ASM_ARCH_PXA3XX_NAND_H */