]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
armv7: fix relocation skip
authorAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 30 Nov 2010 23:58:36 +0000 (00:58 +0100)
committerWolfgang Denk <wd@denx.de>
Thu, 9 Dec 2010 10:01:16 +0000 (11:01 +0100)
commitb9c5081d7d6ebc3290813675ca8771f4471edb85
treec914a55c317ff09cc358421413bb9670bb0b9f22
parent1f52d89f2b4b5ca8dde7aa1be02bb1c658e0aa13
armv7: fix relocation skip

I doubt the stack_setup() was defective before:
 we load the current location of _start and compare against destination
 of relocate_code(). If we are already there we shoud skip the
 relocation and jump over to clear_bss. Before the clear_bss was also skipped.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
arch/arm/cpu/armv7/start.S