blob: ad7be5081d604866025af0a39ab3dc14afd678af [file] [log] [blame]
Victor Chong2d9a42d2017-08-17 15:21:10 +09001/*
Haojian Zhuang9411fe32018-01-30 10:35:17 +08002 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
Victor Chong2d9a42d2017-08-17 15:21:10 +09003 *
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
Victor Chong2d9a42d2017-08-17 15:21:10 +090011/*******************************************************************************
12 * This function flushes the data structures so that they are visible
13 * in memory for the next BL image.
14 ******************************************************************************/
15void plat_flush_next_bl_params(void)
16{
17 flush_bl_params_desc();
18}
19
20/*******************************************************************************
21 * This function returns the list of loadable images.
22 ******************************************************************************/
23bl_load_info_t *plat_get_bl_image_load_info(void)
24{
Victor Chong2d9a42d2017-08-17 15:21:10 +090025 return get_bl_load_info_from_mem_params_desc();
26}
27
28/*******************************************************************************
29 * This function returns the list of executable images.
30 ******************************************************************************/
31bl_params_t *plat_get_next_bl_params(void)
32{
33 return get_next_bl_params_from_mem_params_desc();
34}