]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: implement relocation for ARM926
authorHeiko Schocher <hs@denx.de>
Fri, 17 Sep 2010 11:10:42 +0000 (13:10 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 19 Sep 2010 17:29:54 +0000 (19:29 +0200)
commitab86f72c354f9b2572340f72b74ca0a258c451bd
tree33cadeb2dbb7f31824789189621305d6eda772ab
parent561142af20f1fd7b425d9425730014e656defb91
ARM: implement relocation for ARM926

Change the implementation for arm926 to relocate the code to
an arbitrary address in RAM.

Adapt the TX25 (i.MX25), magnesium board to test the changes.

On the tx25 board TEXT_BASE is set to the final relocation
address to prevent one more copying of u-boot code
when relocating. More info see:
doc/README.arm-relocation

da850 board:
Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
Portions of this work were supported by funding from
the CE Linux Forum.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Ben Gardiner <bengardiner@nanometrics.ca>
14 files changed:
arch/arm/cpu/arm926ejs/orion5x/dram.c
arch/arm/cpu/arm926ejs/start.S
arch/arm/cpu/arm926ejs/u-boot.lds
board/karo/tx25/config.mk
board/karo/tx25/tx25.c
board/keymile/km_arm/km_arm.c
board/logicpd/imx27lite/config.mk
board/logicpd/imx27lite/imx27lite.c
doc/README.arm-relocation
include/configs/da850evm.h
include/configs/imx27lite-common.h
include/configs/km_arm.h
include/configs/tx25.h
nand_spl/board/karo/tx25/u-boot.lds