diff mbox

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

Message ID u8wdto9qh.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-ecovec24/mach/romimage.h b/arch/sh/include/mach-ecovec24/mach/romimage.h
index 1c8787e..115495d 100644
--- a/arch/sh/include/mach-ecovec24/mach/romimage.h
+++ b/arch/sh/include/mach-ecovec24/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 :
+2 :	.long 0x20000000 /* 0xA0000000 - 0x80000000 */
+3 :