]> git.sur5r.net Git - u-boot/commit
dwc2: Add dcache support
authorAlexander Stein <alexanders83@web.de>
Fri, 24 Jul 2015 07:22:14 +0000 (09:22 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:43 +0000 (20:47 -0400)
commitdb402e005a7db7c60811deb199e0df3eec479601
tree0ce73a198b257c93814435968de67f6b1b4999d2
parent4342557fad308dd4ca8f9c2e74ea4f2dbddd5685
dwc2: Add dcache support

This adds dcache support for dwc2. The DMA buffers must be DMA aligned and
is flushed for outgoing transactions before starting transfer. For
ingoing transactions it is invalidated after the transfer has finished.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
[trini: Update to apply again on top of DM patches]
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/usb/host/dwc2.c