MIPS: Add flush_dcache_range() and invalidate_dcache_range()
authorStefan Roese <sr@denx.de>
Wed, 21 Jan 2009 16:20:20 +0000 (17:20 +0100)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Tue, 27 Jan 2009 14:06:58 +0000 (23:06 +0900)
commit03d3bfb00806b5441f1871c7408c1749863e0fdc
tree6d77e7ec95dbaa15b0d1aa1aaf89f5f0c39f3932
parent8f86a3636ef88427f880610638e80991adc41896
MIPS: Add flush_dcache_range() and invalidate_dcache_range()

This patch adds flush_/invalidate_dcache_range() to the MIPS architecture.
Those functions are needed for the upcoming dcache support for the USB
EHCI driver. I chose this API because those cache handling functions are
already present in the PPC architecture.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
cpu/mips/cpu.c
include/common.h