openrisc: use the generic in-place uncached DMA allocator
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Nov 2019 17:08:39 +0000 (18:08 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Mar 2020 09:48:16 +0000 (10:48 +0100)
commita4a4d11a22ee89d0e94bd8640ec190d81b4c8134
tree2de28b62a9e97c61f59f79b1497fd9772be25830
parent999a5d1203baa7cff00586361feae263ee3f23a5
openrisc: use the generic in-place uncached DMA allocator

Switch openrisc to use the dma-direct allocator and just provide the
hooks for setting memory uncached or cached.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
arch/openrisc/Kconfig
arch/openrisc/kernel/dma.c