Message ID | u4ooho6yg.wl%morimoto.kuninori@renesas.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
diff --git a/arch/sh/include/mach-ecovec24/mach/romimage.h b/arch/sh/include/mach-ecovec24/mach/romimage.h index 1c8787e..6c670af 100644 --- a/arch/sh/include/mach-ecovec24/mach/romimage.h +++ b/arch/sh/include/mach-ecovec24/mach/romimage.h @@ -3,6 +3,7 @@ * the assembly code is the first code to be executed in the romImage */ +#include <cpu/addrspace.h> #include <asm/romimage-macros.h> #include "partner-jet-setup.txt" @@ -11,10 +12,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 P2SEG - P1SEG /* cached_to_uncached */ +3 :