Skip to content
Snippets Groups Projects
Commit c2b233cb authored by Aneesh Bansal's avatar Aneesh Bansal Committed by Tom Rini
Browse files

arm, Makefile: correct compilation flag for u-boot-dtb


The compilation of u-boot-dtb.img should be controlled by
CONFIG_OF_CONTROL and not CONFIG_DM.
CONFIG_DM may be defined even without Device Tree requirement.

This was added in commit 947cee11.

Signed-off-by: default avatarRuchika Gupta <ruchika.gupta@freescale.com>
Signed-off-by: default avatarAneesh Bansal <aneesh.bansal@freescale.com>
CC: Alison Wang <alison.wang@freescale.com>
parent 76765375
No related branches found
No related tags found
No related merge requests found
...@@ -1136,7 +1136,7 @@ spl/u-boot-spl.pbl: spl/u-boot-spl.bin FORCE ...@@ -1136,7 +1136,7 @@ spl/u-boot-spl.pbl: spl/u-boot-spl.bin FORCE
$(call if_changed,mkimage) $(call if_changed,mkimage)
ifeq ($(ARCH),arm) ifeq ($(ARCH),arm)
ifdef CONFIG_DM ifdef CONFIG_OF_CONTROL
UBOOT_BINLOAD := u-boot-dtb.img UBOOT_BINLOAD := u-boot-dtb.img
else else
UBOOT_BINLOAD := u-boot.img UBOOT_BINLOAD := u-boot.img
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment