aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/macb.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-04-30 21:57:08 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2017-06-02 14:44:20 -0500
commit2303bff7d55df47105740e5d635d50ef9f6856b6 (patch)
treeff94f77aa0bb50d3fd07ced4b4e0ea279c49a9d0 /drivers/net/macb.c
parent52e727c8eb449db8b8dcb38201cbe034c8fa3c04 (diff)
downloadu-boot-2303bff7d55df47105740e5d635d50ef9f6856b6.zip
u-boot-2303bff7d55df47105740e5d635d50ef9f6856b6.tar.gz
u-boot-2303bff7d55df47105740e5d635d50ef9f6856b6.tar.bz2
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 'drivers/net/macb.c')
0 files changed, 0 insertions, 0 deletions