blob: d69b1b1214ead3edbe0ed0991625be3a75541bd9 [file] [log] [blame]
Konstantin Porotchkind973c032018-10-02 17:45:15 +03001/*
2 * Copyright (c) 2018, 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}