Skip to content
Snippets Groups Projects
Commit 5c1ad3e6 authored by Eric Nelson's avatar Eric Nelson Committed by Albert ARIBAUD
Browse files

net: fec_mxc: allow use with cache enabled

Ensure that transmit and receive buffers are cache-line aligned.
Invalidate cache for each packet as received, update receive buffer
descriptors one cache line at a time, flush cache before transmitting.

Original patch by Marek:
 http://lists.denx.de/pipermail/u-boot/2012-February/117695.html



Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
Tested-by: default avatarMarek Vasut <marex@denx.de>
parent 2c4b3c19
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment