]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/arm/mach-omap2/gpmc-onenand.c
ARM: OMAP2+: gpmc-onenand: provide memory as resource
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)
commit681988ba0c369795def0346d210ce96d6177059a
tree9b036db5e1d220b2537ffd9e4257776cb0d79019
parent9222e3a7bbf3fe63629d4169b63afa27bc108ecc
ARM: OMAP2+: gpmc-onenand: provide memory as resource

Currently omap onenand driver invokes gpmc_cs_request, obtains address
space allocated by gpmc to onenand. Remove this, instead use resource
structure; this is now updated with address space for onenand by gpmc
initialization with the help of gpmc_cs_request. And remove usage of
gpmc_cs_request in onenand driver.

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-onenand.c