[U-Boot] [U-Boot, v3] net/designware: make driver compatible with data cache

Tom Rini trini at ti.com
Fri Feb 7 15:21:20 CET 2014


On Wed, Jan 22, 2014 at 08:49:09PM +0400, Alexey Brodkin wrote:

> From: Alexey Brodkin <Alexey.Brodkin at synopsys.com>
> 
> 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
> 
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> 
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Vipin Kumar <vipin.kumar at st.com>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Mischa Jonker <mjonker at synopsys.com>
> Cc: Shiraz Hashim <shiraz.hashim at st.com>
> Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
> Cc: Amit Virdi <amit.virdi at st.com>
> Cc: Sonic Zhang <sonic.zhang at analog.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140207/e84ae4b0/attachment.pgp>


More information about the U-Boot mailing list