u-boot/arch/openrisc
Franck Jullien 9cd73bf859 openrisc: fix relocation code
The relocation code can now relocate from anywhere to
the RAM.

The old code assumed that the binary was copied to the RAM
by some PBL and then it just relocated the .text section
from the loaded address to the linked address.

Now, it first checks if vectors are somewhere else than the
linked address. If yes, there are copied to address 0 (or
to the exception vector base address if register EVBAR is
present).

Then, the .text section is relocated from its current location
to the RAM.

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
2014-06-05 14:44:56 -04:00
..
cpu openrisc: fix relocation code 2014-06-05 14:44:56 -04:00
include/asm openrisc: update SPR registers definition 2014-06-05 14:44:56 -04:00
lib bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
config.mk kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00