aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabio Estevam <festevam@gmail.com>2018-07-05 16:24:29 -0300
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2018-07-07 23:52:02 +0200
commita777a426a0ba211eccaf70866537ef3ad08d2d86 (patch)
tree9c0d116e0b2a3e520d6f7d8c6a9d82c3bc0b935c
parent3193ac1d5426ad7202cfb262094f86f32f454212 (diff)
downloadbuildroot-a777a426a0ba211eccaf70866537ef3ad08d2d86.tar.gz
buildroot-a777a426a0ba211eccaf70866537ef3ad08d2d86.tar.bz2
uboot: Introduce BR2_TARGET_UBOOT_FORMAT_DTB_IMX
Some i.MX boards which use device tree to describe the hardware for U-Boot generate a u-boot-dtb.imx binary. Introduce the BR2_TARGET_UBOOT_FORMAT_DTB_IMX option to handle such case. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--boot/uboot/Config.in3
-rw-r--r--boot/uboot/uboot.mk5
2 files changed, 8 insertions, 0 deletions
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index 482711ca64..7f8291abe8 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -190,6 +190,9 @@ config BR2_TARGET_UBOOT_FORMAT_DTB_BIN
config BR2_TARGET_UBOOT_FORMAT_DTB_IMG
bool "u-boot-dtb.img"
+config BR2_TARGET_UBOOT_FORMAT_DTB_IMX
+ bool "u-boot-dtb.imx"
+
config BR2_TARGET_UBOOT_FORMAT_IMG
bool "u-boot.img"
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 6ef275e842..bf227f2893 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -70,6 +70,11 @@ UBOOT_BINS += u-boot-dtb.img
UBOOT_MAKE_TARGET += u-boot-dtb.img
endif
+ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_IMX),y)
+UBOOT_BINS += u-boot-dtb.imx
+UBOOT_MAKE_TARGET += u-boot-dtb.imx
+endif
+
ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_BIN),y)
UBOOT_BINS += u-boot-dtb.bin
UBOOT_MAKE_TARGET += u-boot-dtb.bin