summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-02-05 08:06:29 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-13 15:33:00 +0100
commit38716189d439c3ed8707e7bc1f430322ba7a810d (patch)
tree642ae8ba2b04008b6009db13d808ae4dc3dc268b /include
parentdfa94058f550e06405e80df4fb277fd306a77cbd (diff)
downloadu-boot-imx-38716189d439c3ed8707e7bc1f430322ba7a810d.zip
u-boot-imx-38716189d439c3ed8707e7bc1f430322ba7a810d.tar.gz
u-boot-imx-38716189d439c3ed8707e7bc1f430322ba7a810d.tar.bz2
zynq: Fix elf header generation
This patch is here because of: "arm: keep all sections in ELF file" (sha1: 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7) Our tools expect to have elf with only LOAD header. Without this fix also PHDR, INTERP and DYNAMIC headers are available in ELF. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/zynq-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 3b461e0..9b6db04 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -228,6 +228,8 @@
# define CONFIG_SYS_MMC_MAX_DEVICE 1
#endif
+#define CONFIG_SYS_LDSCRIPT "arch/arm/cpu/armv7/zynq/u-boot.lds"
+
/* Commands */
#include <config_cmd_default.h>