aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm/mach-dove/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-02-28 18:19:16 +0100
committerArnd Bergmann <arnd@arndb.de>2013-02-28 18:57:06 +0100
commit48be9ac930086f7605fb4959936f568e865b2cff (patch)
tree41c22e6fd0e0341a891bc5c94c88ac7f067b3587 /arch/arm/mach-dove/Makefile
parentARM: dove: update dove_defconfig with a few useful options (diff)
downloadwireguard-linux-48be9ac930086f7605fb4959936f568e865b2cff.tar.xz
wireguard-linux-48be9ac930086f7605fb4959936f568e865b2cff.zip
ARM: Dove: split legacy and DT setup
In the beginning of DT for Dove it was reasonable to have it close to non-DT code. With improved DT support, it became more and more difficult to not break non-DT while changing DT code. This patch splits up DT board setup and introduces a DOVE_LEGACY config to allow to remove legacy code for DT-only kernels. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-dove/Makefile')
-rw-r--r--arch/arm/mach-dove/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-dove/Makefile b/arch/arm/mach-dove/Makefile
index 5e683baf96cf..3f0a858fb597 100644
--- a/arch/arm/mach-dove/Makefile
+++ b/arch/arm/mach-dove/Makefile
@@ -1,4 +1,6 @@
-obj-y += common.o addr-map.o irq.o mpp.o
+obj-y += common.o addr-map.o irq.o
+obj-$(CONFIG_DOVE_LEGACY) += mpp.o
obj-$(CONFIG_PCI) += pcie.o
obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o
+obj-$(CONFIG_MACH_DOVE_DT) += board-dt.o
obj-$(CONFIG_MACH_CM_A510) += cm-a510.o