From: Alexey Ignatov Date: Sun, 6 Jul 2014 23:21:44 +0000 (+0400) Subject: kmake: include DTB section into u-boot.bin if CONFIG_OF_EMBED enabled X-Git-Tag: v2014.07~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=072b2d88723a75c5fd83f5ca7dac8e0a6510849b;p=u-boot kmake: include DTB section into u-boot.bin if CONFIG_OF_EMBED enabled Fixes a bug when objcopy doesn't put .dtb.init.rodata section to resulting u-boot.bin, so u-boot was unable to find embedded DTB. --- diff --git a/arch/arm/config.mk b/arch/arm/config.mk index 66ecc2ee4d..5fa182536d 100644 --- a/arch/arm/config.mk +++ b/arch/arm/config.mk @@ -116,6 +116,10 @@ else OBJCOPYFLAGS += -j .text -j .rodata -j .hash -j .data -j .got.plt -j .u_boot_list -j .rel.dyn endif +ifdef CONFIG_OF_EMBED +OBJCOPYFLAGS += -j .dtb.init.rodata +endif + ifneq ($(CONFIG_IMX_CONFIG),) ifdef CONFIG_SPL ifndef CONFIG_SPL_BUILD