diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2014-01-22 20:49:09 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-07 09:17:05 -0500 |
commit | 50b0df814b0f75c08a3d45a017016a75af3edb5d (patch) | |
tree | 5f68cb4e12f3791137ce141494f54e3fb9bafc09 /post | |
parent | 92a190aaab3536d695c51e0739f925910eb49889 (diff) | |
download | u-boot-imx-50b0df814b0f75c08a3d45a017016a75af3edb5d.zip u-boot-imx-50b0df814b0f75c08a3d45a017016a75af3edb5d.tar.gz u-boot-imx-50b0df814b0f75c08a3d45a017016a75af3edb5d.tar.bz2 |
net/designware: make driver compatible with data cache
Up until now this driver only worked with data cache disabled.
To make it work with enabled data cache following changes were required:
* Flush Tx/Rx buffer descriptors their modification
* Invalidate Tx/Rx buffer descriptors before reading its values
* Flush cache for data passed from CPU to GMAC
* Invalidate cache for data passed from GMAC to CPU
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Vipin Kumar <vipin.kumar@st.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Mischa Jonker <mjonker@synopsys.com>
Cc: Shiraz Hashim <shiraz.hashim@st.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Amit Virdi <amit.virdi@st.com>
Cc: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'post')
0 files changed, 0 insertions, 0 deletions