[MIPS] Implement flush_cache()
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Tue, 25 Mar 2008 12:30:06 +0000 (21:30 +0900)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Tue, 25 Mar 2008 12:30:06 +0000 (21:30 +0900)
commitccf8f824ef67df028dedb29f8ea5d71a5a88d895
treeb051a88092123b0877caa5aa0e5641282c2b99be
parent2e0e5271aac917812a76c72030a2b2c6f1d3387d
[MIPS] Implement flush_cache()

We do Hit_Writeback_Inv_D and Hit_Invalidate_I. You might think that you
don't need to do Hit_Invalidate_I, but flush_cache() needs it since this
function is used not only in U-Boot specfic programs but also at loading
target binaries.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
cpu/mips/cpu.c