ARM: kirkwood: select dtbs based on SoC
authorJason Cooper <jason@lakedaemon.net>
Tue, 25 Feb 2014 17:14:21 +0000 (17:14 +0000)
committerJason Cooper <jason@lakedaemon.net>
Tue, 25 Feb 2014 20:12:36 +0000 (20:12 +0000)
To prevent problems later with mvebu_v5_defconfig builds, we restrict
the scope of the changes this series makes.

Selecting ARCH_KIRKWOOD and MACH_KIRKWOOD is necessary during the
migration from mach-kirkwood to mach-mvebu.  Until the last four legacy
kirkwood board files have a DT equivalent, we need to support building
DT from both mach-kirkwood and mach-mvebu.

Reported-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/Makefile

index e135182992b20721ca23aebfedbb7c22b40234de..88010f97a368e755319a7da8cfffa269158aa26a 100644 (file)
@@ -117,6 +117,7 @@ kirkwood := \
        kirkwood-ts219-6281.dtb \
        kirkwood-ts219-6282.dtb
 dtb-$(CONFIG_ARCH_KIRKWOOD) += $(kirkwood)
+dtb-$(CONFIG_MACH_KIRKWOOD) += $(kirkwood)
 dtb-$(CONFIG_ARCH_LPC32XX) += ea3250.dtb phy3250.dtb
 dtb-$(CONFIG_ARCH_MARCO) += marco-evb.dtb
 dtb-$(CONFIG_ARCH_MOXART) += moxart-uc7112lx.dtb
@@ -133,8 +134,7 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
        armada-xp-gp.dtb \
        armada-xp-netgear-rn2120.dtb \
        armada-xp-matrix.dtb \
-       armada-xp-openblocks-ax3-4.dtb \
-       $(kirkwood)
+       armada-xp-openblocks-ax3-4.dtb
 dtb-$(CONFIG_ARCH_MXC) += \
        imx25-karo-tx25.dtb \
        imx25-pdk.dtb \