summaryrefslogtreecommitdiffstats
path: root/drivers/soc/sunxi/Makefile
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2020-11-06 15:52:30 +0100
committerMaxime Ripard <maxime@cerno.tech>2020-11-18 09:01:30 +0100
commitb4bdc4fbf8d01227702068703ae2cd82ff25c3db (patch)
tree9f3b78cb78afe8431a3f1e6b2a8ed37383173ace /drivers/soc/sunxi/Makefile
parent957a1ea3599210e9996777a734ea5284eaef75c7 (diff)
soc: sunxi: Deal with the MBUS DMA offsets in a central place
So far most of the drivers with the MBUS quirks had to duplicate the code to deal with DT compatibility and enforcing the DMA offsets. Let's move for a more maintainable solution by putting everything in a notifier that would take care of setting up the DMA offsets for all the MBUS devices. Suggested-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/soc/sunxi/Makefile')
-rw-r--r--drivers/soc/sunxi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/sunxi/Makefile b/drivers/soc/sunxi/Makefile
index 7816fbbec387..549159571d4f 100644
--- a/drivers/soc/sunxi/Makefile
+++ b/drivers/soc/sunxi/Makefile
@@ -1,2 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_SUNXI_MBUS) += sunxi_mbus.o
obj-$(CONFIG_SUNXI_SRAM) += sunxi_sram.o