Alexey Brodkin 50b0df814b 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>
2014-02-07 09:17:05 -05:00
..
2011-01-09 18:06:50 +01:00
2010-07-12 00:14:29 -07:00
2012-05-22 10:18:15 -05:00
2013-04-01 16:33:52 -04:00
2013-11-21 16:32:29 +01:00
2013-04-01 16:33:52 -04:00
2013-11-11 14:46:24 -05:00
2013-11-22 16:50:54 -06:00
2013-12-18 16:49:45 +09:00
2012-11-04 11:00:36 -07:00