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