On Mon, Aug 26, 2019 at 2:18 AM Stefan Roese <[email protected]> wrote:
>
> With commit c6d07bf440bc ("net/macb: increase RX buffer size for GEM")
> ethernet support does not work any more with d-cache enabled on the
> AT91SAM. The reason is, that MACB_RX_BUFFER_SIZE was changed from 4096
> to 128 but this change was not refected in the rx_buffer flush and
> invalidate functions, as these also use this macro.
>
> This patch now fixes this by calculating the rx buffer size correctly
> again in those functions. With this change, ethernet works again
> reliably on my AT91SAM board.
>
> Signed-off-by: Stefan Roese <[email protected]>
> Fixes: c6d07bf440bc ("net/macb: increase RX buffer size for GEM")
> Cc: Ramon Fried <[email protected]>
> Cc: Eugen Hristev <[email protected]>
> Cc: Anup Patel <[email protected]>
> Cc: Bin Meng <[email protected]>
> Cc: Joe Hershberger <[email protected]>

Acked-by: Joe Hershberger <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to