OMAP3: remove hardcoded values from the ASM sleep code
authorJean Pihet <j-pihet@ti.com>
Sat, 18 Dec 2010 15:44:43 +0000 (16:44 +0100)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 21 Dec 2010 22:45:57 +0000 (14:45 -0800)
commitfe360e1c8693bca175338da4c53078b0be807c52
treed0b45593751c3ec25fa0220e68d52deeeb842e00
parentb4b36fd94e4ca99b3258ff24c2c58cdde67085e0
OMAP3: remove hardcoded values from the ASM sleep code

Using macros from existing include files for registers addresses.

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

Based on original patch from Vishwa.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Cc: Vishwanath BS <vishwanath.bs@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/control.h
arch/arm/mach-omap2/sleep34xx.S