ARM: OMAP3: CM/control: move CM scratchpad save to CM driver
authorTero Kristo <t-kristo@ti.com>
Fri, 11 Oct 2013 16:15:34 +0000 (19:15 +0300)
committerPaul Walmsley <paul@pwsan.com>
Sat, 19 Oct 2013 16:11:52 +0000 (10:11 -0600)
commitc6a2d839d0dba8a06f55c7b06f8ce33bdbe4aea3
tree29e69f442137dc6e16cb6f9a083b5b3846a7632f
parent7a90da2ad3fdd44a6230c0e2c0a374a5cda1711c
ARM: OMAP3: CM/control: move CM scratchpad save to CM driver

OMAP3 PM code for off-mode currently saves the scratchpad contents for CM
registers within OMAP control module driver. However, as we are separating
CM code into its own driver, this must be moved also. This patch adds a
new API for saving the CM scratchpad contents and uses this from the high
level scratchpad save function.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/cm3xxx.c
arch/arm/mach-omap2/cm3xxx.h
arch/arm/mach-omap2/control.c