• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <arm_def.h>
8 #include <bl_common.h>
9 #include <desc_image_load.h>
10 #include <platform.h>
11 
12 
13 #pragma weak plat_flush_next_bl_params
14 #pragma weak plat_get_bl_image_load_info
15 #pragma weak plat_get_next_bl_params
16 
17 
18 /*******************************************************************************
19  * This function flushes the data structures so that they are visible
20  * in memory for the next BL image.
21  ******************************************************************************/
plat_flush_next_bl_params(void)22 void plat_flush_next_bl_params(void)
23 {
24 	flush_bl_params_desc();
25 }
26 
27 /*******************************************************************************
28  * This function returns the list of loadable images.
29  ******************************************************************************/
plat_get_bl_image_load_info(void)30 bl_load_info_t *plat_get_bl_image_load_info(void)
31 {
32 	return get_bl_load_info_from_mem_params_desc();
33 }
34 
35 /*******************************************************************************
36  * This function returns the list of executable images.
37  ******************************************************************************/
plat_get_next_bl_params(void)38 bl_params_t *plat_get_next_bl_params(void)
39 {
40 	return get_next_bl_params_from_mem_params_desc();
41 }
42