1 /*
2  * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <common/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  ******************************************************************************/
plat_flush_next_bl_params(void)13 void 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  ******************************************************************************/
plat_get_bl_image_load_info(void)22 bl_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  ******************************************************************************/
plat_get_next_bl_params(void)31 bl_params_t *plat_get_next_bl_params(void)
32 {
33 	return get_next_bl_params_from_mem_params_desc();
34 }
35