Yann Gautier | 4b0c72a | 2018-07-16 10:54:09 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | e0f9063 | 2018-12-14 00:18:21 +0000 | [diff] [blame] | 7 | #include <common/desc_image_load.h> |
| 8 | #include <plat/common/platform.h> |
Yann Gautier | 4b0c72a | 2018-07-16 10:54:09 +0200 | [diff] [blame] | 9 | |
| 10 | /******************************************************************************* |
| 11 | * This function flushes the data structures so that they are visible |
| 12 | * in memory for the next BL image. |
| 13 | ******************************************************************************/ |
| 14 | void plat_flush_next_bl_params(void) |
| 15 | { |
| 16 | flush_bl_params_desc(); |
| 17 | } |
| 18 | |
| 19 | /******************************************************************************* |
| 20 | * This function returns the list of loadable images. |
| 21 | ******************************************************************************/ |
| 22 | bl_load_info_t *plat_get_bl_image_load_info(void) |
| 23 | { |
| 24 | return get_bl_load_info_from_mem_params_desc(); |
| 25 | } |
| 26 | |
| 27 | /******************************************************************************* |
| 28 | * This function returns the list of executable images. |
| 29 | ******************************************************************************/ |
| 30 | bl_params_t *plat_get_next_bl_params(void) |
| 31 | { |
| 32 | return get_next_bl_params_from_mem_params_desc(); |
| 33 | } |