| Tony Lindgren | 78be632 | 2007-12-11 13:50:17 -0800 | [diff] [blame] | 1 | /* | 
|  | 2 | * include/asm-arm/arch-omap/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 |  | 
|  | 11 | #include <linux/mtd/partitions.h> | 
|  | 12 |  | 
|  | 13 | struct omap_nand_platform_data { | 
|  | 14 | unsigned int		options; | 
|  | 15 | int			cs; | 
|  | 16 | int			gpio_irq; | 
|  | 17 | struct mtd_partition	*parts; | 
|  | 18 | int			nr_parts; | 
|  | 19 | int			(*nand_setup)(void __iomem *); | 
|  | 20 | int			(*dev_ready)(struct omap_nand_platform_data *); | 
|  | 21 | int			dma_channel; | 
|  | 22 | void __iomem		*gpmc_cs_baseaddr; | 
|  | 23 | void __iomem		*gpmc_baseaddr; | 
|  | 24 | }; |