From: Robert Jarzmik Date: Mon, 17 Nov 2008 19:29:03 +0000 (+0100) Subject: [ARM] pxa/MioA701: fix memory corruption. X-Git-Tag: v2.6.28-rc7~38^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=999f6338780fa0577b6581941c697c868d1ec2d3;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [ARM] pxa/MioA701: fix memory corruption. In the resume bootstrap, the early disable address is wrong. Fix it to RAM address 0xa020b000 instead of 0xa0200000, and make it consistent with RESUME_ENABLE_ADDR in mioa701.c. Signed-off-by: Robert Jarzmik Acked-by: Russell King Signed-off-by: Eric Miao --- diff --git a/arch/arm/mach-pxa/mioa701_bootresume.S b/arch/arm/mach-pxa/mioa701_bootresume.S index a647693..324d25a 100644 --- a/arch/arm/mach-pxa/mioa701_bootresume.S +++ b/arch/arm/mach-pxa/mioa701_bootresume.S @@ -24,6 +24,7 @@ ENTRY(mioa701_jumpaddr) 1: mov r0, #0xa0000000 @ Don't suppose memory access works orr r0, r0, #0x00200000 @ even if it's supposed to + orr r0, r0, #0x0000b000 mov r1, #0 str r1, [r0] @ Early disable resume for next boot ldr r0, mioa701_jumpaddr @ (Murphy's Law)