Message ID | 20090820135926.24000.72974.sendpatchset@rx1.opensource.se (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
--- 0001/arch/sh/include/mach-kfr2r09/mach/romimage.h +++ work/arch/sh/include/mach-kfr2r09/mach/romimage.h 2009-08-20 14:22:06.000000000 +0900 @@ -73,3 +73,16 @@ .endm #include "partner-jet-setup.txt" + + /* execute icbi after enabling cache */ + mov.l 1f, r0 + icbi @r0 + + /* jump to cached area */ + mova 2f, r0 + jmp @r0 + nop + + .align 2 +1: .long 0xa8000000 +2: