9
0
Fork 0
barebox/pbl
Sascha Hauer a81ec0225f ARM: Add relocatable binary support
For making the same binary executable on different SoCs which have
different DRAM addresses we have to be independent of the compile
time link address.

This patch adds relocatable binary support for the ARM architecture.
With this two new functions are available. relocate_to_current_adr
will fixup the binary to continue executing from the current position.
relocate_to_adr will copy the binary to a given address, fixup the
binary and continue executing from there.

For the PBL and the real image relocatable support can be enabled
independently. This is done to (hopefully) better cope with setups
where the PBL runs from SRAM or ROM and the real binary does not.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-03-07 12:38:01 +01:00
..
Kconfig ARM: Add relocatable binary support 2013-03-07 12:38:01 +01:00
Makefile pbl: factorise decompressor 2013-01-30 22:32:13 +01:00
decomp.c pbl: add none compression support 2013-01-30 22:32:13 +01:00
misc.c startup: add __noreturn to start_barebox 2013-01-20 16:33:03 +01:00
string.c pbl string: Fix no previous prototype warnings 2013-01-25 22:36:30 +01:00