OMAP3: rework of the ASM sleep code execution paths
authorJean Pihet <j-pihet@ti.com>
Sat, 18 Dec 2010 15:44:45 +0000 (16:44 +0100)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 21 Dec 2010 22:45:58 +0000 (14:45 -0800)
commitf7dfe3d8a98b7c4869c09826e3a65663cb9c71be
treea308e3f5416dc4a690814e08442805555f52d762
parent1e81bc015a444e0f908451642b0197199d0c6fa4
OMAP3: rework of the ASM sleep code execution paths

- Reworked and simplified the execution paths for better
  readability and to avoid duplication of code,
- Added comments on the entry and exit points and the interaction
  with the ROM code for OFF mode restore,
- Reworked the existing comments for better readability.

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/control.c
arch/arm/mach-omap2/sleep34xx.S