ARM: mvebu: use arm_coherent_dma_ops and re-enable hardware I/O coherency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 16 Jan 2015 16:11:29 +0000 (17:11 +0100)
committerAndrew Lunn <andrew@lunn.ch>
Mon, 19 Jan 2015 22:05:57 +0000 (16:05 -0600)
commit1bd4d8a6de5cda605e8b99fbf081be2ea2959380
treeadbc433da3268b9c4b1c174a5287dfa5b9dd6934
parenta0b5cd4ac2d6542d524d8063961bf914b5df1efa
ARM: mvebu: use arm_coherent_dma_ops and re-enable hardware I/O coherency

Now that we have enabled automatic I/O synchronization barriers, we no
longer need any explicit barriers. We can therefore simplify
arch/arm/mach-mvebu/coherency.c by using the existing
arm_coherent_dma_ops instead of our custom mvebu_hwcc_dma_ops, and
re-enable hardware I/O coherency support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Andrew Lunn <andrew@lunn.ch>: Remove forgotten comment]
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
arch/arm/mach-mvebu/coherency.c