summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat
diff options
context:
space:
mode:
authorAfzal Mohammed <afzal@ti.com>2012-08-30 12:53:23 -0700
committerTony Lindgren <tony@atomide.com>2012-08-30 12:53:23 -0700
commit9c4c2f8b91a8bcc431d1c033e4d4455479b8183b (patch)
treeba37152e231c1bb3c3c33a50b304181a8c68ea5a /arch/arm/plat-omap/include/plat
parent681988ba0c369795def0346d210ce96d6177059a (diff)
downloadblackbird-op-linux-9c4c2f8b91a8bcc431d1c033e4d4455479b8183b.tar.gz
blackbird-op-linux-9c4c2f8b91a8bcc431d1c033e4d4455479b8183b.zip
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/include/plat')
-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 {
bool dev_ready;
int gpmc_irq;
enum nand_io xfer_type;
- unsigned long phys_base;
int devsize;
enum omap_ecc ecc_opt;
struct gpmc_nand_regs reg;
OpenPOWER on IntegriCloud