[U-Boot] [PATCH] mx6: colibri: fix build due to missing DTB

Stefano Babic sbabic at denx.de
Mon Apr 1 11:11:27 UTC 2019


This fix colibri (imx6) build due to:

Device Tree Source is not correctly specified.
Please define 'CONFIG_DEFAULT_DEVICE_TREE'
or build with 'DEVICE_TREE=<device_tree>' argument

CONFIG_DEFAULT_DEVICE_TREE is set in default config, but it is not built
because the target is missing in dts/Makefile

Signed-off-by: Stefano Babic <sbabic at denx.de>
CC: Marcel Ziswiler <marcel.ziswiler at toradex.com>
---

I got build error after rebasing on current Tom's master - colibri-imx6.dtb
is missing from dts/Makefile.

This is to fix -next on u-boot-imx.

 arch/arm/dts/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index e67b3bd767..0b39721dbc 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -500,6 +500,9 @@ dtb-$(CONFIG_MX6Q) += \
 	imx6q-display5.dtb \
 	imx6q-logicpd.dtb
 
+dtb-$(CONFIG_TARGET_COLIBRI_IMX6) += \
+	imx6-colibri.dtb
+
 dtb-$(CONFIG_MX6QDL) += \
 	imx6dl-icore.dtb \
 	imx6dl-icore-mipi.dtb \
-- 
2.17.1



More information about the U-Boot mailing list