]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:52 +0000 (21:47 +0200)
commit48d18935618823f5ab221856c286a3c7c2045c9a
tree51aec62786211e96646e457bda661923e7cb8abd
parent9f00aeeb9cd72b8778e81c16dec0107446700faa
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