blob: 4644168800605840b9d6c80acf762594f7c0a22c [file] [log] [blame]
Yann Gautier4b0c72a2018-07-16 10:54:09 +02001/*
Yann Gautierea1a3c62023-06-14 14:38:15 +02002 * Copyright (c) 2016-2023, 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 Gautier5519b7e2022-11-18 14:08:10 +01008#include <plat/common/platform.h>
Yann Gautierc6f77b02022-05-06 09:50:43 +02009
Yann Gautier4b0c72a2018-07-16 10:54:09 +020010/*******************************************************************************
11 * This function flushes the data structures so that they are visible
12 * in memory for the next BL image.
13 ******************************************************************************/
14void plat_flush_next_bl_params(void)
15{
16 flush_bl_params_desc();
17}
18
19/*******************************************************************************
20 * This function returns the list of loadable images.
21 ******************************************************************************/
22bl_load_info_t *plat_get_bl_image_load_info(void)
23{
Yann Gautier4b0c72a2018-07-16 10:54:09 +020024 return get_bl_load_info_from_mem_params_desc();
25}
26
27/*******************************************************************************
28 * This function returns the list of executable images.
29 ******************************************************************************/
30bl_params_t *plat_get_next_bl_params(void)
31{
Yann Gautier0ed7b2a2021-05-19 18:48:16 +020032 bl_params_t *bl_params = get_next_bl_params_from_mem_params_desc();
33
34 populate_next_bl_params_config(bl_params);
35
36 return bl_params;
Yann Gautier4b0c72a2018-07-16 10:54:09 +020037}