blob: 5394c6f7c8ef0eb1961dd0249b7541ff36f01e61 [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
Antonio Nino Diazae6779e2017-11-06 14:49:04 +00007#include <platform_def.h>
8
Antonio Nino Diaze0f90632018-12-14 00:18:21 +00009#include <common/bl_common.h>
10#include <common/desc_image_load.h>
11#include <plat/common/platform.h>
12
Antonio Nino Diazae6779e2017-11-06 14:49:04 +000013/*******************************************************************************
14 * This function flushes the data structures so that they are visible
15 * in memory for the next BL image.
16 ******************************************************************************/
17void plat_flush_next_bl_params(void)
18{
19 flush_bl_params_desc();
20}
21
22/*******************************************************************************
23 * This function returns the list of loadable images.
24 ******************************************************************************/
25bl_load_info_t *plat_get_bl_image_load_info(void)
26{
27 return get_bl_load_info_from_mem_params_desc();
28}
29
30/*******************************************************************************
31 * This function returns the list of executable images.
32 ******************************************************************************/
33bl_params_t *plat_get_next_bl_params(void)
34{
35 return get_next_bl_params_from_mem_params_desc();
36}