ARM: i.MX6: dts: Build dtb based on SOC type
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 11 Apr 2018 12:32:23 +0000 (18:02 +0530)
committerStefano Babic <sbabic@denx.de>
Fri, 18 May 2018 06:23:43 +0000 (08:23 +0200)
Build dtb's based on SOC type instead building arch type.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/dts/Makefile

index 7bec3d6cfea607b52adab962d60bdba6d6725ce7..5300c27fa38a104074020166f0f5d558973816b7 100644 (file)
@@ -400,9 +400,7 @@ dtb-$(CONFIG_VF610) += vf500-colibri.dtb \
 
 dtb-$(CONFIG_MX53) += imx53-cx9020.dtb
 
-dtb-$(CONFIG_MX6) += imx6ull-14x14-evk.dtb \
-       imx6sl-evk.dtb \
-       imx6sll-evk.dtb \
+dtb-$(CONFIG_MX6QDL) += \
        imx6dl-icore.dtb \
        imx6dl-icore-mipi.dtb \
        imx6dl-icore-rqs.dtb \
@@ -410,14 +408,24 @@ dtb-$(CONFIG_MX6) += imx6ull-14x14-evk.dtb \
        imx6q-icore.dtb \
        imx6q-icore-mipi.dtb \
        imx6q-icore-rqs.dtb \
-       imx6q-logicpd.dtb \
+       imx6q-logicpd.dtb
+
+dtb-$(CONFIG_MX6SL) += imx6sl-evk.dtb
+
+dtb-$(CONFIG_MX6SL) += imx6sll-evk.dtb
+
+dtb-$(CONFIG_MX6SX) += \
        imx6sx-sabreauto.dtb \
-       imx6sx-sdb.dtb \
+       imx6sx-sdb.dtb
+
+dtb-$(CONFIG_MX6UL) += \
        imx6ul-geam-kit.dtb \
        imx6ul-isiot-emmc.dtb \
        imx6ul-isiot-nand.dtb \
        imx6ul-opos6uldev.dtb
 
+dtb-$(CONFIG_MX6ULL) += imx6ull-14x14-evk.dtb
+
 dtb-$(CONFIG_MX7) += imx7-colibri.dtb \
        imx7d-sdb.dtb