u-boot-brain/drivers/core
Simon Glass 5a8a8045a9 dm: core: Ensure DMA regions start up with the cache clean
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 <sjg@chromium.org>
2017-04-13 14:44:49 -06:00
..
device-remove.c dm: core: Add dm_remove_devices_flags() and hook it into device_remove() 2017-04-04 20:15:10 -06:00
device.c dm: core: Ensure DMA regions start up with the cache clean 2017-04-13 14:44:49 -06:00
devres.c
dump.c
Kconfig dm: core: Allow driver model to be disabled for TPL 2017-04-05 16:36:58 -04:00
lists.c
Makefile
regmap.c regmap: use fdt address translation 2017-03-22 07:27:19 -06:00
root.c dm: core: Add dm_remove_devices_flags() and hook it into device_remove() 2017-04-04 20:15:10 -06:00
simple-bus.c
syscon-uclass.c
uclass.c core/uclass: Print name of device in uclass_find_device_by_seq() 2017-04-13 14:44:49 -06:00
util.c dm: Return actual bools in dm_fdt_pre_reloc 2017-03-16 16:03:47 -06:00