1*0d8052a4SVictor Chong /* 2*0d8052a4SVictor Chong * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. 3*0d8052a4SVictor Chong * 4*0d8052a4SVictor Chong * SPDX-License-Identifier: BSD-3-Clause 5*0d8052a4SVictor Chong */ 6*0d8052a4SVictor Chong 7*0d8052a4SVictor Chong #include <bl_common.h> 8*0d8052a4SVictor Chong #include <desc_image_load.h> 9*0d8052a4SVictor Chong #include <platform.h> 10*0d8052a4SVictor Chong 11*0d8052a4SVictor Chong /******************************************************************************* 12*0d8052a4SVictor Chong * This function flushes the data structures so that they are visible 13*0d8052a4SVictor Chong * in memory for the next BL image. 14*0d8052a4SVictor Chong ******************************************************************************/ 15*0d8052a4SVictor Chong void plat_flush_next_bl_params(void) 16*0d8052a4SVictor Chong { 17*0d8052a4SVictor Chong flush_bl_params_desc(); 18*0d8052a4SVictor Chong } 19*0d8052a4SVictor Chong 20*0d8052a4SVictor Chong /******************************************************************************* 21*0d8052a4SVictor Chong * This function returns the list of loadable images. 22*0d8052a4SVictor Chong ******************************************************************************/ 23*0d8052a4SVictor Chong bl_load_info_t *plat_get_bl_image_load_info(void) 24*0d8052a4SVictor Chong { 25*0d8052a4SVictor Chong return get_bl_load_info_from_mem_params_desc(); 26*0d8052a4SVictor Chong } 27*0d8052a4SVictor Chong 28*0d8052a4SVictor Chong /******************************************************************************* 29*0d8052a4SVictor Chong * This function returns the list of executable images. 30*0d8052a4SVictor Chong ******************************************************************************/ 31*0d8052a4SVictor Chong bl_params_t *plat_get_next_bl_params(void) 32*0d8052a4SVictor Chong { 33*0d8052a4SVictor Chong return get_next_bl_params_from_mem_params_desc(); 34*0d8052a4SVictor Chong } 35