diff options
author | Alexey Ignatov <lexszero@gmail.com> | 2014-07-07 03:21:44 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-07 19:47:24 -0400 |
commit | 072b2d88723a75c5fd83f5ca7dac8e0a6510849b (patch) | |
tree | b24582416a5a9d57a09c3f8aa335ea50ce2ed120 /arch/arm/config.mk | |
parent | 2835d993e1df1a2aef77c6f5047ebabd2ff3c7b2 (diff) | |
download | u-boot-072b2d88723a75c5fd83f5ca7dac8e0a6510849b.tar.gz u-boot-072b2d88723a75c5fd83f5ca7dac8e0a6510849b.tar.xz u-boot-072b2d88723a75c5fd83f5ca7dac8e0a6510849b.zip |
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.
Diffstat (limited to 'arch/arm/config.mk')
-rw-r--r-- | arch/arm/config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
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 |