diff options
author | Soby Mathew <soby.mathew@arm.com> | 2018-01-10 12:51:34 +0000 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2018-02-26 16:31:11 +0000 |
commit | 101d01e2a2e34a568fb25c2ef2390fd71183413e (patch) | |
tree | c7c962e6580d07900ec7130a8568c47009d63511 /include/bl1 | |
parent | 0c306cc062611d71cd79a2cf2b7aac022c741165 (diff) | |
download | trusted-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/bl1')
-rw-r--r-- | include/bl1/bl1.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/bl1/bl1.h b/include/bl1/bl1.h index 1544523517..b04210077a 100644 --- a/include/bl1/bl1.h +++ b/include/bl1/bl1.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -71,5 +71,9 @@ CASSERT(FWU_NUM_SMC_CALLS == \ (FWU_SMC_FID_END - FWU_SMC_FID_START + 1),\ assert_FWU_NUM_SMC_CALLS_mismatch); +/* Utility functions */ +void bl1_calc_bl2_mem_layout(const meminfo_t *bl1_mem_layout, + meminfo_t *bl2_mem_layout); + #endif /* __ASSEMBLY__ */ #endif /* __BL1_FWU_H__ */ |