mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
qca: Fixes objcopy flags to include device tree into u-boot.bin
With CONFIG_OF_COMBINE enabled, device tree was part of u-boot elf. objcopy was missing this device tree section when copying into u-boot.bin. This patch fixes this issue. Change-Id: I604050023fa9fc572f77a450b0f1db472e785129 Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
This commit is contained in:
parent
f5c7ca631b
commit
f338b8128a
1 changed files with 8 additions and 0 deletions
|
|
@ -36,6 +36,14 @@ endif
|
|||
ifneq ($(CONFIG_SYS_SOC),)
|
||||
SOC := $(CONFIG_SYS_SOC:"%"=%)
|
||||
endif
|
||||
ifeq ($(CONFIG_OF_COMBINE),)
|
||||
ifneq ($(CONFIG_OF_SEPERATE),)
|
||||
OBJCOPYFLAGS += -j .text -j .secure_text -j .rodata -j .hash -j .data -j .got -j .got.plt -j .u_boot_list
|
||||
endif
|
||||
else
|
||||
OBJCOPYFLAGS += -j .text -j .secure_text -j .rodata -j .hash -j .data -j .got -j .got.plt -j .u_boot_list -j .dtb
|
||||
endif
|
||||
|
||||
|
||||
# Some architecture config.mk files need to know what CPUDIR is set to,
|
||||
# so calculate CPUDIR before including ARCH/SOC/CPU config.mk files.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue