On 4 April 2017 at 13:00, Simon Glass <s...@chromium.org> wrote: > There is a strange interaction with drivers which use DMA if the cache > starts off in a dirty state. Buffer space which the driver reads (but has > not previously written) can contain zero bytes from alloc_priv(). This can > cause corruption of the memory used by DMA for incoming data. > > Fix this and add a comment to explain the problem. > > This allows the dwc2 driver to work correctly with driver model, for > example. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > drivers/core/device.c | 30 +++++++++++++++++++++++++++++- > 1 file changed, 29 insertions(+), 1 deletion(-)
Applied to u-boot-dm _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot