OMAP4: cm: Remove RESTORE macros to avoid access from SW
authorBenoit Cousson <b-cousson@ti.com>
Sun, 10 Jul 2011 01:15:05 +0000 (19:15 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 10 Jul 2011 01:15:05 +0000 (19:15 -0600)
commit7b342a8d4c310b5cc153b35ea80aab03ddf2e6da
tree84a2dde9a08637e21f2663848e292e5a3282654a
parent0fef658331354138d422500509d6e006d9f070d6
OMAP4: cm: Remove RESTORE macros to avoid access from SW

The restore part of the CM is an alias of some regular registers
used only during the SAR restore to facilate the dma to write
a contiguous set of registers.
The registers should never be used by the SW, only the original
register have to be used.

Remove them from cmX_44xx.h files to avoid anybody to use them by
mistake.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/cm-regbits-44xx.h
arch/arm/mach-omap2/cm1_44xx.h
arch/arm/mach-omap2/cm2_44xx.h