Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / arch / m32r / boot / compressed / head.S
index 10b928e..234d8b1 100644 (file)
@@ -138,6 +138,16 @@ 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
+#elif defined(CONFIG_CHIP_M32104)
+       /* Cache flush */
+       ldi     r0, -2
+       ldi     r1, 0x0700      ; invalidate i-cache, copy back d-cache
+       sth     r1, @r0
 #else
 #error "put your cache flush function, please"
 #endif