X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=blobdiff_plain;f=arch%2Fm32r%2Fboot%2Fcompressed%2Fhead.S;h=07cfd6ad1ae460472cd0d5f11cbbeebc62f85b37;hp=10b928ed0f5079566708b1a4423c6951c8efe4ce;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475 diff --git a/arch/m32r/boot/compressed/head.S b/arch/m32r/boot/compressed/head.S index 10b928ed0..07cfd6ad1 100644 --- a/arch/m32r/boot/compressed/head.S +++ b/arch/m32r/boot/compressed/head.S @@ -138,6 +138,11 @@ startup: ldi r0, -1 ldi r1, 0xd0 ; invalidate i-cache, copy back d-cache stb r1, @r0 +#elif defined(CONFIG_CHIP_M32102) + /* Cache flush */ + ldi r0, -2 + ldi r1, 0x0100 ; invalidate + stb r1, @r0 #else #error "put your cache flush function, please" #endif