blob: c4048fc08e9ffc65860e40ed5eaed4d33cf3c313 [file] [log] [blame]
Yann Gautier4b0c72a2018-07-16 10:54:09 +02001/*
Yann Gautierc6f77b02022-05-06 09:50:43 +02002 * Copyright (c) 2016-2022, ARM Limited and Contributors. All rights reserved.
Yann Gautier4b0c72a2018-07-16 10:54:09 +02003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaze0f90632018-12-14 00:18:21 +00007#include <common/desc_image_load.h>
Yann Gautierc6f77b02022-05-06 09:50:43 +02008
Yann Gautier4b0c72a2018-07-16 10:54:09 +02009/*******************************************************************************
10 * This function flushes the data structures so that they are visible
11 * in memory for the next BL image.
12 ******************************************************************************/
13void plat_flush_next_bl_params(void)
14{
15 flush_bl_params_desc();
16}
17
18/*******************************************************************************
19 * This function returns the list of loadable images.
20 ******************************************************************************/
21bl_load_info_t *plat_get_bl_image_load_info(void)
22{
Yann Gautier4b0c72a2018-07-16 10:54:09 +020023 return get_bl_load_info_from_mem_params_desc();
24}
25
26/*******************************************************************************
27 * This function returns the list of executable images.
28 ******************************************************************************/
29bl_params_t *plat_get_next_bl_params(void)
30{
Yann Gautier0ed7b2a2021-05-19 18:48:16 +020031 bl_params_t *bl_params = get_next_bl_params_from_mem_params_desc();
32
33 populate_next_bl_params_config(bl_params);
34
35 return bl_params;
Yann Gautier4b0c72a2018-07-16 10:54:09 +020036}