Make the memory layout more flexible
Currently the platform code gets to define the base address of each
boot loader image. However, the linker scripts couteract this
flexibility by enforcing a fixed overall layout of the different
images. For example, they require that the BL3-1 image sits below
the BL2 image. Choosing BL3-1 and BL2 base addresses in such a way
that it violates this constraint makes the build fail at link-time.

This patch requires the platform code to now define a limit address
for each image. The linker scripts check that the image fits within
these bounds so they don't rely anymore on the position of a given
image in regard to the others.

Fixes ARM-software/tf-issues#163

Change-Id: I8c108646825da19a6a8dfb091b613e1dd4ae133c
1 parent 4f59d83 commit a37255a205fa004bfc075aca81cef45b99dc30cb
@Sandrine Bailleux Sandrine Bailleux authored on 22 May 2014
Showing 5 changed files
View
bl1/bl1.ld.S
View
bl2/bl2.ld.S
View
bl31/bl31.ld.S
View
bl32/tsp/tsp.ld.S
View
plat/fvp/platform.h