diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-03-03 17:12:47 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-04 12:11:22 +0100 |
commit | 3f975f810bd34c56cfafd88d1d4e6eb669e74561 (patch) | |
tree | 4ee73d2980ee39d9c6bed962f04ddd4f7eb63430 /.gitignore | |
parent | 598217bad38f62aa1691742839cfe856ba2a99e2 (diff) | |
download | barebox-3f975f810bd34c56cfafd88d1d4e6eb669e74561.tar.gz barebox-3f975f810bd34c56cfafd88d1d4e6eb669e74561.tar.xz |
dma: move dma_map/unmap_single from ARM to common code
There's nothing ARM specific about these functions. Move them to a
common location, so other arches can use them as well.
This also fixes a bug on ARM MMU=n configurations:
Previously these two functions these functions only respected
dma-ranges translation when compiled with MMU support. DMA address
translation is applicable regardless of CPU use of MMU though.
Now, dma-ranges should be respected unconditionally.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions