mtd: nand: omap2: obtain memory from resource
commit9c4c2f8b91a8bcc431d1c033e4d4455479b8183b
authorAfzal Mohammed <afzal@ti.com>
Thu, 30 Aug 2012 19:53:23 +0000 (30 12:53 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 30 Aug 2012 19:53:23 +0000 (30 12:53 -0700)
treeba37152e231c1bb3c3c33a50b304181a8c68ea5a
parent681988ba0c369795def0346d210ce96d6177059a
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>
arch/arm/plat-omap/include/plat/nand.h
drivers/mtd/nand/omap2.c