]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
zynq: spl: Add vectors section to linker script
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Thu, 7 Aug 2014 12:26:43 +0000 (22:26 +1000)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 8 Aug 2014 09:27:29 +0000 (11:27 +0200)
commitfb8d8766988e536056788358a6ed8d41a03c4290
tree37b825a0059c2f2bfda924cba6c1b637bfd32ab1
parente76b933e02e1b38e48754c435e9dba1c0deeb3c6
zynq: spl: Add vectors section to linker script

The vectors section contains the _start symbol which is used as the
program entry point. Add it to the linker script in same fashion as done
for regular u-boot. This allows for correct generation of an spl elf
with a non-zero entry point.

A similar change was applied to sunxi platform in
"sunxi: Fix u-boot-spl.lds to refer to .vectors"
(sha1: 9e5f80d823e3fd2a685b10ecf02009e34b86cff9)

This also allows for placement of the vector table at the hivecs
location by setting the TEXT_BASE to 0xffff0000.

Tested-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv7/zynq/u-boot-spl.lds