diff options
author | Sukumar Ghorai <s-ghorai@ti.com> | 2010-07-09 09:14:45 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-08-02 15:30:38 +0300 |
commit | 2c01946c6b9ebaa5a89710bc42ca224a7f52f227 (patch) | |
tree | 419e5a73823ffec9a23b22334b4c5ee936272e49 /arch/arm/plat-omap/include/plat/nand.h | |
parent | 948d38e799f0ab87cf8ed9113fcdaaee61acf321 (diff) |
omap3 nand: cleanup virtual address usages
This patch removes direct reference of gpmc address from generic nand platform code.
Nand platform code now uses wrapper functions which are implemented in gpmc module.
Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/nand.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/nand.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/nand.h b/arch/arm/plat-omap/include/plat/nand.h index f8efd5466b1..6562cd082bb 100644 --- a/arch/arm/plat-omap/include/plat/nand.h +++ b/arch/arm/plat-omap/include/plat/nand.h @@ -21,13 +21,11 @@ struct omap_nand_platform_data { int (*dev_ready)(struct omap_nand_platform_data *); int dma_channel; unsigned long phys_base; - void __iomem *gpmc_cs_baseaddr; - void __iomem *gpmc_baseaddr; int devsize; }; -/* size (4 KiB) for IO mapping */ -#define NAND_IO_SIZE SZ_4K +/* minimum size for IO mapping */ +#define NAND_IO_SIZE 4 #if defined(CONFIG_MTD_NAND_OMAP2) || defined(CONFIG_MTD_NAND_OMAP2_MODULE) extern int gpmc_nand_init(struct omap_nand_platform_data *d); |