projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2835d99
)
kmake: include DTB section into u-boot.bin if CONFIG_OF_EMBED enabled
author
Alexey Ignatov
<lexszero@gmail.com>
Sun, 6 Jul 2014 23:21:44 +0000
(
03:21
+0400)
committer
Tom Rini
<trini@ti.com>
Mon, 7 Jul 2014 23:47:24 +0000
(19:47 -0400)
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.
arch/arm/config.mk
patch
|
blob
|
history
diff --git
a/arch/arm/config.mk
b/arch/arm/config.mk
index 66ecc2ee4d16d4476616204212ec7b352f3a0422..5fa182536d78c233a9bdac17034c183062e92ee3 100644
(file)
--- 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