9
0
Fork 0
barebox/arch
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
..
arm ARM: Add relocatable binary support 2013-03-07 12:38:01 +01:00
blackfin nor flash: integrate into mtd 2013-02-14 23:37:53 +01:00
mips MIPS: pbl: fix none compression support 2013-02-05 09:43:17 +01:00
nios2 nor flash: integrate into mtd 2013-02-14 23:37:53 +01:00
openrisc remap_range: make function 'remap_range' global 2013-01-18 08:28:20 +01:00
ppc nor flash: integrate into mtd 2013-02-14 23:37:53 +01:00
sandbox Use new device_platform_driver() macro for drivers 2013-02-13 09:23:28 +01:00
x86 barebox-data: add barebox-data sections 2013-01-18 11:56:50 +01:00
architecture.dox MIPS: add documentation 2011-08-05 18:20:17 +02:00