summaryrefslogtreecommitdiff
path: root/include/plat/common/platform.h
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2014-06-24 14:02:34 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2014-07-01 10:59:43 +0100
commit8f55dfb4ba1a7c2cb5af355ff614923b6000864d (patch)
tree6b8f1b4958222304da14dffb482ae39e51d47c27 /include/plat/common/platform.h
parent5e0f9bde13c4b10fd7545f47cb75046fcd94d16f (diff)
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
Diffstat (limited to 'include/plat/common/platform.h')
-rw-r--r--include/plat/common/platform.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index c087dc69..c130ae78 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -90,10 +90,8 @@ void bl1_plat_set_bl2_ep_info(struct image_info *image,
/*******************************************************************************
* Optional BL1 functions (may be overridden)
******************************************************************************/
-void init_bl2_mem_layout(struct meminfo *,
- struct meminfo *,
- unsigned int,
- unsigned long);
+void bl1_init_bl2_mem_layout(const struct meminfo *bl1_mem_layout,
+ struct meminfo *bl2_mem_layout);
/*******************************************************************************
* Mandatory BL2 functions