diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-04-30 21:57:08 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2017-06-02 14:44:20 -0500 |
commit | 2303bff7d55df47105740e5d635d50ef9f6856b6 (patch) | |
tree | ff94f77aa0bb50d3fd07ced4b4e0ea279c49a9d0 /arch | |
parent | 52e727c8eb449db8b8dcb38201cbe034c8fa3c04 (diff) |
net: pch_gbe: Add cache maintenance
On MIPS systems DMA isn't coherent with the CPU caches unless an IOCU is
present. When there is no IOCU we need to writeback or invalidate the
data caches at appropriate points. Perform this cache maintenance in
the pch_gbe driver which is used on the MIPS Boston development board.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions