2016-09-14 3:29 GMT+02:00  <peter.ch...@data61.csiro.au>:
> The call to flush cache on the transmit buffer was misplaced (for very
> short packets) and asked to flush less than a cacheline.
>
> Move the flush cache call to after a short packet has been padded
> to minimum length (so the padding is flushed too), and round the size
> up to a cacheline.
>
> Signed-off-by: Peter Chubb <peter.ch...@data61.csiro.au>
> Acked-by: Joe Hershberger <joe.hershber...@ni.com>
> ---
>  drivers/net/rtl8169.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Tested-by Nicolas Chauvet <kwiz...@gmail.com>

This fix the following message on trimslice with 2016.09:
---
BOOTP broadcast 1
CACHE: Misaligned operation at range [3ffba600, 3ffba756]
---

Thx


-- 
-

Nicolas (kwizart)
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to