OMAP2+: use global values for the SRAM PA addresses
authorJean Pihet <j-pihet@ti.com>
Sat, 18 Dec 2010 15:44:42 +0000 (16:44 +0100)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 21 Dec 2010 22:45:56 +0000 (14:45 -0800)
commitb4b36fd94e4ca99b3258ff24c2c58cdde67085e0
tree08d87923e309a726a2836ecddf7d04a52633c6d0
parentd3cdfd2a15d87d040a5f553231b979fbc28b98e7
OMAP2+: use global values for the SRAM PA addresses

The SRAM PA addresses are locally defined and used at
different places, i.e. SRAM management code and idle sleep code.

The macros are now defined at a centralized place, for
easier maintenance.

Tested on N900 and Beagleboard with full RET and OFF modes,
using cpuidle and suspend.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Nishanth Menon<nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/sdrc.h
arch/arm/mach-omap2/sleep34xx.S
arch/arm/plat-omap/include/plat/sram.h
arch/arm/plat-omap/sram.c