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