aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorAfzal Mohammed <afzal@ti.com>2012-08-30 15:53:23 -0400
committerTony Lindgren <tony@atomide.com>2012-08-30 15:53:23 -0400
commit9c4c2f8b91a8bcc431d1c033e4d4455479b8183b (patch)
treeba37152e231c1bb3c3c33a50b304181a8c68ea5a /arch/arm/plat-omap
parent681988ba0c369795def0346d210ce96d6177059a (diff)
mtd: nand: omap2: obtain memory from resource
gpmc initialization done by platform code now updates struct resource with the address space alloted for nand. Use this interface to obtain memory rather than relying on platform data field - phys_base. Signed-off-by: Afzal Mohammed <afzal@ti.com> Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/plat/nand.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/nand.h b/arch/arm/plat-omap/include/plat/nand.h
index 86e4d9c67bff..290cef5c1093 100644
--- a/arch/arm/plat-omap/include/plat/nand.h
+++ b/arch/arm/plat-omap/include/plat/nand.h
@@ -26,7 +26,6 @@ struct omap_nand_platform_data {
26 bool dev_ready; 26 bool dev_ready;
27 int gpmc_irq; 27 int gpmc_irq;
28 enum nand_io xfer_type; 28 enum nand_io xfer_type;
29 unsigned long phys_base;
30 int devsize; 29 int devsize;
31 enum omap_ecc ecc_opt; 30 enum omap_ecc ecc_opt;
32 struct gpmc_nand_regs reg; 31 struct gpmc_nand_regs reg;