diff mbox

[2/2] sh: mach-kfr2r09: modify memory area calculation

Message ID u7htdo9pv.wl%morimoto.kuninori@renesas.com (mailing list archive)
State Superseded
Headers show

Commit Message

Kuninori Morimoto Nov. 26, 2009, 10:34 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/sh/include/mach-kfr2r09/mach/romimage.h b/arch/sh/include/mach-kfr2r09/mach/romimage.h
index a110823..076cc94 100644
--- a/arch/sh/include/mach-kfr2r09/mach/romimage.h
+++ b/arch/sh/include/mach-kfr2r09/mach/romimage.h
@@ -11,10 +11,13 @@ 
 	icbi	@r0
 
 	/* jump to cached area */
-	mova	2f, r0
+	mov.l	2f, r1
+	mova	3f, r0
+	sub	r1, r0
 	jmp	@r0
 	 nop
 
 	.align 2
-1:	.long 0xa8000000
-2:
+1 :	.long 0xa8000000
+2 :	.long 0x20000000 /* 0xA0000000 - 0x80000000 */
+3 :