Remove concept of top/bottom image loading
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Tue, 24 Jun 2014 13:02:34 +0000 (14:02 +0100)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Tue, 1 Jul 2014 09:59:43 +0000 (10:59 +0100)
commit8f55dfb4ba1a7c2cb5af355ff614923b6000864d
tree6b8f1b4958222304da14dffb482ae39e51d47c27
parent5e0f9bde13c4b10fd7545f47cb75046fcd94d16f
Remove concept of top/bottom image loading

This concept is no longer required since we now support loading of
images at fixed addresses only.

The image loader now automatically detects the position of the image
inside the current memory layout and updates the layout such that
memory fragmentation is minimised.

The 'attr' field of the meminfo data structure, which used to hold
the bottom/top loading information, has been removed. Also the 'next'
field has been removed as it wasn't used anywhere.

The 'init_bl2_mem_layout()' function has been moved out of common
code and put in BL1-specific code. It has also been renamed into
'bl1_init_bl2_mem_layout'.

Fixes ARM-software/tf-issues#109

Change-Id: I3f54642ce7b763d5ee3b047ad0ab59eabbcf916d
bl1/bl1_main.c
bl1/bl1_private.h
bl2/bl2_main.c
common/bl_common.c
docs/porting-guide.md
include/common/bl_common.h
include/plat/common/platform.h
plat/fvp/bl1_fvp_setup.c
plat/fvp/bl2_fvp_setup.c