blob: 8e246477c9b5128378eed91fe39ca2997f4aadfc [file] [log] [blame]
Fu Weic2f78442017-05-27 21:21:42 +08001/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <desc_image_load.h>
8
9/*******************************************************************************
10 * This function is a wrapper of a common function which flushes the data
11 * structures so that they are visible in memory for the next BL image.
12 ******************************************************************************/
13void plat_flush_next_bl_params(void)
14{
15 flush_bl_params_desc();
16}
17
18/*******************************************************************************
19 * This function is a wrapper of a common function which returns the list of
20 * loadable images.
21 ******************************************************************************/
22bl_load_info_t *plat_get_bl_image_load_info(void)
23{
24 return get_bl_load_info_from_mem_params_desc();
25}
26
27/*******************************************************************************
28 * This function is a wrapper of a common function which returns the data
29 * structures of the next BL image.
30 ******************************************************************************/
31bl_params_t *plat_get_next_bl_params(void)
32{
33 return get_next_bl_params_from_mem_params_desc();
34}