1
0
Fork 0
remarkable-uboot/arch
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
..
arc ARC: enable CONFIG_SYS_BOOT_RAMDISK_HIGH 2014-06-03 16:16:57 +04:00
arm arm: fdt_control: fix a build error with CONFIG_OF_EMBED=y 2014-06-05 14:38:38 -04:00
avr32 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
blackfin blackfin: replace bfin_gen_rand_mac() with eth_random_addr() 2014-05-12 15:19:46 -04:00
m68k m68k: powerpc: Clean up do_mdm_init 2014-05-29 17:49:33 -04:00
microblaze bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
mips common/board_f: Initialized global data for generic board 2014-05-12 15:20:05 -04:00
nds32 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
nios2 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
openrisc openrisc: fix relocation code 2014-06-05 14:44:56 -04:00
powerpc powerpc: hiddendragon: remove orphan board 2014-05-30 14:03:24 -04:00
sandbox dm: rename device struct to udevice 2014-05-27 10:21:32 -04:00
sh bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
sparc bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
x86 kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib 2014-03-28 15:06:29 -04:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00