blob: 9d814a6e5937d35b07cfeb9b644bb372e8a53c9d [file] [log] [blame]
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +02001/*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaze0f90632018-12-14 00:18:21 +00007#include <common/bl_common.h>
8#include <common/desc_image_load.h>
9#include <plat/common/platform.h>
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +020010
11extern void bl2_plat_flush_bl31_params(void);
12
13/*******************************************************************************
14 * This function flushes the data structures so that they are visible
15 * in memory for the next BL image.
16 ******************************************************************************/
17void plat_flush_next_bl_params(void)
18{
19#if IMAGE_BL2
20 bl2_plat_flush_bl31_params();
21#endif
22}
23
24/*******************************************************************************
25 * This function returns the list of loadable images.
26 ******************************************************************************/
27bl_load_info_t *plat_get_bl_image_load_info(void)
28{
29 return get_bl_load_info_from_mem_params_desc();
30}
31
32/*******************************************************************************
33 * This function returns the list of executable images.
34 ******************************************************************************/
35bl_params_t *plat_get_next_bl_params(void)
36{
37 return get_next_bl_params_from_mem_params_desc();
38}