]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Support allocating driver-private data for DMA
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:21:53 +0000 (12:21 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:19 +0000 (11:11 -0600)
commit2c03c4633b092d695d04bd38053da4d7dc59a9a5
treea9cbb4c80fbb9a902056440555e009446a63906a
parente23eb614a415afa6bc2b3609b4f7a07c0f425744
dm: core: Support allocating driver-private data for DMA

Some driver want to put DMA buffers in their private data. Add a flag
to tell driver model to align driver-private data to a cache boundary so
that DMA will work correctly in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/core/device.c
include/dm/device.h