[U-Boot] [PATCH v3 5/5] ARM: i.MX6: dts: Build dtb based on SOC type

Jagan Teki jagan at amarulasolutions.com
Mon Mar 26 12:16:55 UTC 2018


Now, we have proper CONFIG_SOC_ names for i.MX6 SOC types,
so use the same for building dtbs.

Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
 arch/arm/dts/Makefile | 44 ++++++++++++++++++++++++++------------------
 1 file changed, 26 insertions(+), 18 deletions(-)

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 7a5f0a36a3..e03ad0427c 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -385,24 +385,6 @@ dtb-$(CONFIG_VF610) += vf500-colibri.dtb \
 
 dtb-$(CONFIG_MX53) += imx53-cx9020.dtb
 
-dtb-$(CONFIG_SOC_IMX6) += imx6ull-14x14-evk.dtb \
-	imx6sl-evk.dtb \
-	imx6sll-evk.dtb \
-	imx6dl-icore.dtb \
-	imx6dl-icore-mipi.dtb \
-	imx6dl-icore-rqs.dtb \
-	imx6q-cm-fx6.dtb \
-	imx6q-icore.dtb \
-	imx6q-icore-mipi.dtb \
-	imx6q-icore-rqs.dtb \
-	imx6q-logicpd.dtb \
-	imx6sx-sabreauto.dtb \
-	imx6sx-sdb.dtb \
-	imx6ul-geam-kit.dtb \
-	imx6ul-isiot-emmc.dtb \
-	imx6ul-isiot-nand.dtb \
-	imx6ul-opos6uldev.dtb
-
 dtb-$(CONFIG_MX7) += imx7-colibri.dtb \
 	imx7d-sdb.dtb
 
@@ -417,6 +399,32 @@ dtb-$(CONFIG_RCAR_GEN3) += \
 	r8a77970-eagle.dtb \
 	r8a77995-draak.dtb
 
+dtb-$(CONFIG_SOC_IMX6QDL) += \
+	imx6dl-icore.dtb \
+	imx6dl-icore-mipi.dtb \
+	imx6dl-icore-rqs.dtb \
+	imx6q-cm-fx6.dtb \
+	imx6q-icore.dtb \
+	imx6q-icore-mipi.dtb \
+	imx6q-icore-rqs.dtb \
+	imx6q-logicpd.dtb
+
+dtb-$(CONFIG_SOC_IMX6SL) += imx6sl-evk.dtb
+
+dtb-$(CONFIG_SOC_IMX6SL) += imx6sll-evk.dtb
+
+dtb-$(CONFIG_SOC_IMX6SX) += \
+	imx6sx-sabreauto.dtb \
+	imx6sx-sdb.dtb
+
+dtb-$(CONFIG_SOC_IMX6UL) += \
+	imx6ul-geam-kit.dtb \
+	imx6ul-isiot-emmc.dtb \
+	imx6ul-isiot-nand.dtb \
+	imx6ul-opos6uldev.dtb
+
+dtb-$(CONFIG_SOC_IMX6ULL) += imx6ull-14x14-evk.dtb
+
 dtb-$(CONFIG_SOC_KEYSTONE) += keystone-k2hk-evm.dtb \
 	keystone-k2l-evm.dtb \
 	keystone-k2e-evm.dtb \
-- 
2.14.3



More information about the U-Boot mailing list