mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-01 03:51:31 +02:00
- usb: mtu3: flush cache for the first GPD when allocate GPD ring
This commit is contained in:
commit
bc18582a14
@ -112,6 +112,7 @@ int mtu3_gpd_ring_alloc(struct mtu3_ep *mep)
|
|||||||
memset(gpd, 0, QMU_GPD_RING_SIZE);
|
memset(gpd, 0, QMU_GPD_RING_SIZE);
|
||||||
ring->dma = (dma_addr_t)gpd;
|
ring->dma = (dma_addr_t)gpd;
|
||||||
gpd_ring_init(ring, gpd);
|
gpd_ring_init(ring, gpd);
|
||||||
|
mtu3_flush_cache((uintptr_t)gpd, sizeof(*gpd));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user