ARM: OMAP2+: gpmc-nand: update resource with memory
authorAfzal Mohammed <afzal@ti.com>
Thu, 30 Aug 2012 19:53:23 +0000 (12:53 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 30 Aug 2012 19:53:23 +0000 (12:53 -0700)
commit9222e3a7bbf3fe63629d4169b63afa27bc108ecc
treeffee0e8c8628548420528fda06d47d8ad82e8dfc
parent65b97cf6b8deca3ad7a3e00e8316bb89617190fb
ARM: OMAP2+: gpmc-nand: update resource with memory

Currently omap nand driver uses a field in platform data - phys_base
for passing the address space allocated by gpmc for nand. Use struct
resource instead. With this change omap nand driver has to get
address space from memory resource.

This helps in smooth migration of gpmc to driver.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc-nand.c