GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / plat-omap / include / plat / nand.h
blob6562cd082bb1b461eff3abbcfc770c9fcb93d845
1 /*
2 * arch/arm/plat-omap/include/mach/nand.h
4 * Copyright (C) 2006 Micron Technology Inc.
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 */
11 #include <linux/mtd/partitions.h>
13 struct omap_nand_platform_data {
14 unsigned int options;
15 int cs;
16 int gpio_irq;
17 struct mtd_partition *parts;
18 struct gpmc_timings *gpmc_t;
19 int nr_parts;
20 int (*nand_setup)(void);
21 int (*dev_ready)(struct omap_nand_platform_data *);
22 int dma_channel;
23 unsigned long phys_base;
24 int devsize;
27 /* minimum size for IO mapping */
28 #define NAND_IO_SIZE 4
30 #if defined(CONFIG_MTD_NAND_OMAP2) || defined(CONFIG_MTD_NAND_OMAP2_MODULE)
31 extern int gpmc_nand_init(struct omap_nand_platform_data *d);
32 #else
33 static inline int gpmc_nand_init(struct omap_nand_platform_data *d)
35 return 0;
37 #endif