12de0c5ccSVictor Chong /* 22de0c5ccSVictor Chong * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. 32de0c5ccSVictor Chong * 42de0c5ccSVictor Chong * SPDX-License-Identifier: BSD-3-Clause 52de0c5ccSVictor Chong */ 62de0c5ccSVictor Chong 7*09d40e0eSAntonio Nino Diaz #include <common/bl_common.h> 8*09d40e0eSAntonio Nino Diaz #include <common/desc_image_load.h> 9*09d40e0eSAntonio Nino Diaz #include <plat/common/platform.h> 102de0c5ccSVictor Chong 112de0c5ccSVictor Chong /******************************************************************************* 122de0c5ccSVictor Chong * This function flushes the data structures so that they are visible 132de0c5ccSVictor Chong * in memory for the next BL image. 142de0c5ccSVictor Chong ******************************************************************************/ plat_flush_next_bl_params(void)152de0c5ccSVictor Chongvoid plat_flush_next_bl_params(void) 162de0c5ccSVictor Chong { 172de0c5ccSVictor Chong flush_bl_params_desc(); 182de0c5ccSVictor Chong } 192de0c5ccSVictor Chong 202de0c5ccSVictor Chong /******************************************************************************* 212de0c5ccSVictor Chong * This function returns the list of loadable images. 222de0c5ccSVictor Chong ******************************************************************************/ plat_get_bl_image_load_info(void)232de0c5ccSVictor Chongbl_load_info_t *plat_get_bl_image_load_info(void) 242de0c5ccSVictor Chong { 252de0c5ccSVictor Chong return get_bl_load_info_from_mem_params_desc(); 262de0c5ccSVictor Chong } 272de0c5ccSVictor Chong 282de0c5ccSVictor Chong /******************************************************************************* 292de0c5ccSVictor Chong * This function returns the list of executable images. 302de0c5ccSVictor Chong ******************************************************************************/ plat_get_next_bl_params(void)312de0c5ccSVictor Chongbl_params_t *plat_get_next_bl_params(void) 322de0c5ccSVictor Chong { 332de0c5ccSVictor Chong return get_next_bl_params_from_mem_params_desc(); 342de0c5ccSVictor Chong } 35