ARM: OMAP: Combine sleep242x.S and sleep243x.S and fix error for SDR
authorTony Lindgren <tony@atomide.com>
Sat, 23 Aug 2008 22:17:21 +0000 (15:17 -0700)
committerTony Lindgren <tony@atomide.com>
Sat, 23 Aug 2008 22:18:31 +0000 (15:18 -0700)
commitaee240e7a8d8dbd92e7e548b3f8f85c361394273
tree8135ef5bc164602a8c0cac7dcd6ee04ea5c9fa9d
parent3568f5b42fa2349dc50a99b0dba952cf9e71d1bd
ARM: OMAP: Combine sleep242x.S and sleep243x.S and fix error for SDR

We can pass the addresses for SDRC_DDLA_CTRL and SDRC_POWER to the
omap24xx_cpu_suspend instead of loading the values since the only
difference between 242x and 243x is the address of these registers.

Also call omap2_sram_suspend with the value of SDRC_DLLA_CTRL instead
of the address as that's what omap24xx_cpu_suspend expects to
determine between DDR and SDR.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/pm24xx.c
arch/arm/mach-omap2/sleep243x.S [deleted file]
arch/arm/mach-omap2/sleep24xx.S [moved from arch/arm/mach-omap2/sleep242x.S with 80% similarity]
arch/arm/plat-omap/include/mach/pm.h