ARM/nommu: use the generic dma-direct code for non-coherent devices
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Jun 2021 12:04:48 +0000 (14:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 18 Aug 2021 14:24:10 +0000 (16:24 +0200)
commit31b089bbc15a53ca7c90c77ef51390d87f612088
treeed095f36cdf81562a145b9b35a94d862df88a00b
parentfaf4ef823ac5f3b6a34a73b76c52895dee3dce55
ARM/nommu: use the generic dma-direct code for non-coherent devices

Select the right options to just use the generic dma-direct code
instead of reimplementing it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Dillon Min <dillon.minfei@gmail.com>
arch/arm/Kconfig
arch/arm/mm/dma-mapping-nommu.c