aboutsummaryrefslogtreecommitdiff
path: root/include/plat/common/platform.h
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2018-01-10 12:51:34 +0000
committerSoby Mathew <soby.mathew@arm.com>2018-02-26 16:31:11 +0000
commit101d01e2a2e34a568fb25c2ef2390fd71183413e (patch)
treec7c962e6580d07900ec7130a8568c47009d63511 /include/plat/common/platform.h
parent0c306cc062611d71cd79a2cf2b7aac022c741165 (diff)
downloadtrusted-firmware-a-101d01e2a2e34a568fb25c2ef2390fd71183413e.tar.gz
BL1: Deprecate the `bl1_init_bl2_mem_layout()` API
The `bl1_init_bl2_mem_layout()` API is now deprecated. The default weak implementation of `bl1_plat_handle_post_image_load()` calculates the BL2 memory layout and populates the same in x1(r1). This ensures compatibility for the deprecated API. Change-Id: Id44bdc1f572dc42ee6ceef4036b3a46803689315 Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Diffstat (limited to 'include/plat/common/platform.h')
-rw-r--r--include/plat/common/platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index 088c3c8254..411202daf2 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -134,9 +134,10 @@ int bl1_plat_mem_check(uintptr_t mem_base, unsigned int mem_size,
/*******************************************************************************
* Optional BL1 functions (may be overridden)
******************************************************************************/
+#if !ERROR_DEPRECATED
void bl1_init_bl2_mem_layout(const struct meminfo *bl1_mem_layout,
struct meminfo *bl2_mem_layout);
-
+#endif
/*
* The following functions are used for image loading process in BL1.
*/