u-boot/board/gth
Peter Tyser 858290178f ppc: Enable full relocation to RAM
The following changes allow U-Boot to fully relocate from flash to
RAM:
 - Remove linker scripts' .fixup sections from the .text section
 - Add -mrelocatable to PLATFORM_RELFLAGS for all boards
 - Define CONFIG_RELOC_FIXUP_WORKS for all boards

Previously, U-Boot would partially relocate, but statically initialized
pointers needed to be manually relocated.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-10-03 10:15:45 +02:00
..
config.mk * Code cleanup: 2003-06-27 21:31:46 +00:00
ee_access.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ee_access.h Initial revision 2002-03-08 21:31:05 +00:00
ee_dev.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
flash.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
gth.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
Makefile Move "ar" flags to config.mk to allow for silent "make -s" 2006-10-09 01:02:05 +02:00
pcmcia.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
README * Code cleanup: 2003-06-27 21:31:46 +00:00
u-boot.lds ppc: Enable full relocation to RAM 2009-10-03 10:15:45 +02:00

Written by Thomas.Lange@corelatus.com 010805

To make a system for gth that actually works ;-)
the variable TBASE needs to be set to 0,1 or 2
depending on location where image is supposed to
be started from.
E.g. make TBASE=1

0: Start from RAM, base 0

1: Start from flash_base + 0x10070

2: Start from flash_base + 0x30070

When using 1 or 2, the image is supposed to be launched
from miniboot that boots the first U-Boot image found in
flash.
For miniboot code, description, see www.opensource.se