u-boot-brain/arch/arm/cpu
Simon Glass dde3b70dcf arm: add a common .lds link script
Most ARM CPUs use a very similar link script. This adds a basic
script that can be used by most CPUs.

Two new symbols are introduced which are intended to eventually be
defined on all architectures to make things easier for generic relocation
and reduce special-case code for each architecture:

__image_copy_start is the start of the text area (equivalent to the
existing _start on ARM). It marks the start of the region which must be
copied to a new location during relocation. This symbol is called
__text_start on x86 and microblaze.

__image_copy_end is the end of the region which must be copied to a new
location during relocation. It is normally equal to the start of the BSS
region, but this can vary in some cases (SPL?). Making this an explicit
symbol on its own removes any ambiguity and permits common code to always
do the right thing.

This new script makes use of CPUDIR, now defined by both Makefile and
spl/Makefile, to find the directory containing the start.o object file,
which is always placed first in the image.

To permit MMU setup prior to relocation (as used by pxa) we add an area
to the link script which contains space for this. This is taken
from commit 7f4cfcf. CPUs can put the contents in there using their
start.S file. BTW, shouldn't that area be 16KB-aligned?

Signed-off-by: Simon Glass <sjg@chromium.org>
2012-03-30 07:43:44 +02:00
..
arm720t Reduce build times 2011-11-03 20:44:58 +01:00
arm920t ARM: fix s3c2410 timer code 2012-03-27 22:08:28 +02:00
arm925t Reduce build times 2011-11-03 20:44:58 +01:00
arm926ejs i.MX28: Enable caches by default 2012-03-29 07:57:08 +02:00
arm946es Reduce build times 2011-11-03 20:44:58 +01:00
arm1136 mx31: add "ARM11P power gating" to get_reset_cause 2012-03-27 09:41:15 +02:00
arm1176 Reduce build times 2011-11-03 20:44:58 +01:00
arm_intcm Reduce build times 2011-11-03 20:44:58 +01:00
armv7 arch/arm/cpu/armv7/omap-common/clocks-common.c: Fix build warnings 2012-03-29 08:19:29 +02:00
ixp IXP: Squash warnings in IXP NPE 2012-03-26 23:09:26 +02:00
lh7a40x Reduce build times 2011-11-03 20:44:58 +01:00
pxa PXA: Fix missing get_tbclk() breaking vpac boards 2012-03-26 23:09:23 +02:00
s3c44b0 Reduce build times 2011-11-03 20:44:58 +01:00
sa1100 Reduce build times 2011-11-03 20:44:58 +01:00
u-boot.lds arm: add a common .lds link script 2012-03-30 07:43:44 +02:00