]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ff5fd5b70675238372b32f24488c84f3cdfae1d
tree73f44815624ac8b43436bccb804126e910c36f94
parenta1b0c26e23b5b6def0e699e7726d75106bde19ed
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