diff options
author | Christoph Hellwig <hch@lst.de> | 2021-02-10 10:56:37 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-02-13 09:51:45 +0100 |
commit | 3440caf5f28c4e4a585dd5a7cead1b7c414973da (patch) | |
tree | 706e3fd7cf657bca6e64d9095f75dd23d1ae09f9 /arch/mips/mti-malta | |
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>
Diffstat (limited to 'arch/mips/mti-malta')
0 files changed, 0 insertions, 0 deletions