summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/nand.h
diff options
context:
space:
mode:
authorAfzal Mohammed2012-08-30 21:53:23 +0200
committerTony Lindgren2012-08-30 21:53:23 +0200
commit9c4c2f8b91a8bcc431d1c033e4d4455479b8183b (patch)
treeba37152e231c1bb3c3c33a50b304181a8c68ea5a /arch/arm/plat-omap/include/plat/nand.h
parentARM: OMAP2+: gpmc-onenand: provide memory as resource (diff)
downloadkernel-qcow2-linux-9c4c2f8b91a8bcc431d1c033e4d4455479b8183b.tar.gz
kernel-qcow2-linux-9c4c2f8b91a8bcc431d1c033e4d4455479b8183b.tar.xz
kernel-qcow2-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/nand.h')
-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;