eric miao | fe69af0 | 2008-02-14 15:48:23 +0800 | [diff] [blame] | 1 | #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 | |
| 7 | struct 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 Miao | 9ae819a | 2008-06-02 15:22:03 +0800 | [diff] [blame] | 18 | |
| 19 | extern void pxa3xx_set_nand_info(struct pxa3xx_nand_platform_data *info); |
eric miao | fe69af0 | 2008-02-14 15:48:23 +0800 | [diff] [blame] | 20 | #endif /* __ASM_ARCH_PXA3XX_NAND_H */ |