[PATCH 25/25] ARM: pm: omap34xx: convert to generic suspend/resume support
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Jun 23 06:06:10 EDT 2011
On Wed, Jun 22, 2011 at 04:16:58PM +0100, Russell King - ARM Linux wrote:
> + /* Now branch to the common CPU resume function */
> + ldr r0, =cpu_resume
> + bx r0
>
> + .ltorg
A slight correction - firstly this code does not run from SRAM.
Secondly, this will try to branch to the virtual address of cpu_resume
which is not a good idea.
Replace this with:
b cpu_resume
and comment out the auxillary control register write in proc-v7.S, and
it should work on OMAP3.
More information about the linux-arm-kernel
mailing list