12de0c5ccSVictor Chong /* 2*19b731e8SHaojian Zhuang * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. 32de0c5ccSVictor Chong * 42de0c5ccSVictor Chong * SPDX-License-Identifier: BSD-3-Clause 52de0c5ccSVictor Chong */ 62de0c5ccSVictor Chong 72de0c5ccSVictor Chong #include <bl_common.h> 82de0c5ccSVictor Chong #include <desc_image_load.h> 92de0c5ccSVictor Chong #include <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 ******************************************************************************/ 152de0c5ccSVictor Chong void 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 ******************************************************************************/ 232de0c5ccSVictor Chong bl_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 ******************************************************************************/ 312de0c5ccSVictor Chong bl_params_t *plat_get_next_bl_params(void) 322de0c5ccSVictor Chong { 332de0c5ccSVictor Chong return get_next_bl_params_from_mem_params_desc(); 342de0c5ccSVictor Chong } 35