summaryrefslogtreecommitdiff
path: root/common/bootm_os.c
diff options
context:
space:
mode:
authorEddie Cai <eddie.cai.linux@gmail.com>2017-04-06 03:37:04 (GMT)
committerMarek Vasut <marex@denx.de>2017-04-14 14:44:16 (GMT)
commit57ca63b86e5987029cd4970890aa28602ba50856 (patch)
tree3156baad07499a98e8568005bb99306d4f7efb56 /common/bootm_os.c
parent889239d6b5c15c82d507498ded5e3b8fea2d44cf (diff)
downloadu-boot-57ca63b86e5987029cd4970890aa28602ba50856.tar.xz
usb: dwc2: invalidate the dcache before starting the DMA
We should invalidate the dcache before starting the DMA. In case there are any dirty lines from the DMA buffer in the cache, subsequent cache-line replacements may corrupt the buffer in memory while the DMA is still going on. Cache-line replacement can happen if the CPU tries to bring some other memory locations into the cache while the DMA is going on. Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com> Reviewed-by: Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de>
Diffstat (limited to 'common/bootm_os.c')
0 files changed, 0 insertions, 0 deletions