davinci: cpuidle: move mapping of DDR2 controller registers out of driver
authorSekhar Nori <nsekhar@ti.com>
Mon, 16 Nov 2009 11:51:37 +0000 (17:21 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 4 Feb 2010 21:29:38 +0000 (13:29 -0800)
commit948c66df0d5e23dbcb84bee39a11b56c8a0d3e41
tree73f44815624ac8b43436bccb804126e910c36f94
parente2da3aaa4254d9e79d9524190fc7e5f0cbdc3c33
davinci: cpuidle: move mapping of DDR2 controller registers out of driver

When suspend is supported, both cpuidle and suspend code
need to work on DDR2 registers. Instead of mapping the
DDR2 registers twice, do it once outside of cpuidle
driver and let cpuidle driver get the virtual base address
of DDR2 registers.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/cpuidle.c
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/include/mach/cpuidle.h
arch/arm/mach-davinci/include/mach/da8xx.h