commit | 3440caf5f28c4e4a585dd5a7cead1b7c414973da | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Feb 10 10:56:37 2021 +0100 |
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | Sat Feb 13 09:51:45 2021 +0100 |
tree | 706e3fd7cf657bca6e64d9095f75dd23d1ae09f9 | |
parent | 04e4783fccf4268249bff2c1be9f63013d12153a [diff] |
MIPS/alchemy: factor out the DMA coherent setup Factor out a alchemy_dma_coherent helper that determines if the platform is DMA coherent. Also stop initializing the hw_coherentio variable, given that is only ever set to a non-zero value by the malta setup code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>