Message ID | u3a41o6ye.wl%morimoto.kuninori@renesas.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
diff --git a/arch/sh/include/mach-kfr2r09/mach/romimage.h b/arch/sh/include/mach-kfr2r09/mach/romimage.h index a110823..8ce989a 100644 --- a/arch/sh/include/mach-kfr2r09/mach/romimage.h +++ b/arch/sh/include/mach-kfr2r09/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: +1 : .long 0xa8000000 +2 : .long P2SEG - P1SEG /* cached_to_uncached */ +3 :