[U-Boot] usb: dwc2: invalidate the dcache before starting the DMA

Simon Glass sjg at chromium.org
Wed Apr 5 02:21:19 UTC 2017


Hi,

On 4 April 2017 at 19:26, Kever Yang <kever.yang at rock-chips.com> wrote:
> Hi Eddie,
>
>
>     We should only need to do only one time cache operation for a buffer
>
> ready to do DMA transfer, so you need to remove another cache invalidate
>
> operation for the same buffer in the same function.

I think this is a more general problem and might cause issues with
other drivers. So I have sent this patch:

http://patchwork.ozlabs.org/patch/746917/

Regards,
Simon


More information about the U-Boot mailing list