summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-06-14 08:15:47 -0500
committerYe Li <ye.li@nxp.com>2017-06-20 01:51:50 -0500
commite7a199123d8231d62d47b07be531c495543f1e55 (patch)
treed9714f06436d37f78816fa60f975116d8a265e51
parent9ce5ebf3cc40ebaa0a0a2db0facaa53a7c16216a (diff)
downloadu-boot-imx-e7a199123d8231d62d47b07be531c495543f1e55.zip
u-boot-imx-e7a199123d8231d62d47b07be531c495543f1e55.tar.gz
u-boot-imx-e7a199123d8231d62d47b07be531c495543f1e55.tar.bz2
MLK-15086 arm: Add firmware_image section to objcopy flags
The u-boot limits the needed sections in .bin by set -j parameter in objcopy. Need to add the firmware_image section for M4 image. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 709839a52af39f1b4640ae3c72475fc01b1b37d5)
-rw-r--r--arch/arm/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 3a81f13..4d64a12 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -136,6 +136,10 @@ ifdef CONFIG_EFI_LOADER
OBJCOPYFLAGS += -j .efi_runtime -j .efi_runtime_rel
endif
+ifdef CONFIG_IMX_M4_BIND
+OBJCOPYFLAGS += -j .firmware_image
+endif
+
ifneq ($(CONFIG_IMX_CONFIG),)
ifdef CONFIG_SPL
ifndef CONFIG_SPL_BUILD