aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-cns3xxx/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-14 22:27:32 +0100
committerArnd Bergmann <arnd@arndb.de>2013-03-14 22:30:21 +0100
commit415f59142d9d9dd023deaeb3b4dfc1aecdd3983c (patch)
tree3d74c3a5b87dea625ca328897751c3253594ae68 /arch/arm/mach-cns3xxx/Makefile
parent15bc1fe67f66644c8093cc2d3304217d1c7de797 (diff)
ARM: cns3xxx: initial DT support
This adds very minimal support for booting cns3xxx using a device tree. It should support the same devices that cns3420vb provides but gets them from the DT. All devices that don't have their own binding are probed through auxdata. This is completely untested and likely incomplete. Booting through ATAGS is made optional, so it can be turned off by anybody who has a DTB file. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-cns3xxx/Makefile')
-rw-r--r--arch/arm/mach-cns3xxx/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-cns3xxx/Makefile b/arch/arm/mach-cns3xxx/Makefile
index 11033f1c2e23..a1ff10848698 100644
--- a/arch/arm/mach-cns3xxx/Makefile
+++ b/arch/arm/mach-cns3xxx/Makefile
@@ -1,3 +1,5 @@
-obj-$(CONFIG_ARCH_CNS3XXX) += core.o pm.o devices.o
-obj-$(CONFIG_PCI) += pcie.o
-obj-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o
+obj-$(CONFIG_ARCH_CNS3XXX) += cns3xxx.o
+cns3xxx-y += core.o pm.o
+cns3xxx-$(CONFIG_ATAGS) += devices.o
+cns3xxx-$(CONFIG_PCI) += pcie.o
+cns3xxx-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o