Victor Chong | 175dd8a | 2018-02-01 00:35:22 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017, 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/bl_common.h> |
| 8 | #include <common/desc_image_load.h> |
| 9 | #include <plat/common/platform.h> |
Victor Chong | 175dd8a | 2018-02-01 00:35:22 +0900 | [diff] [blame] | 10 | |
| 11 | /******************************************************************************* |
| 12 | * This function flushes the data structures so that they are visible |
| 13 | * in memory for the next BL image. |
| 14 | ******************************************************************************/ |
| 15 | void plat_flush_next_bl_params(void) |
| 16 | { |
| 17 | flush_bl_params_desc(); |
| 18 | } |
| 19 | |
| 20 | /******************************************************************************* |
| 21 | * This function returns the list of loadable images. |
| 22 | ******************************************************************************/ |
| 23 | bl_load_info_t *plat_get_bl_image_load_info(void) |
| 24 | { |
| 25 | return get_bl_load_info_from_mem_params_desc(); |
| 26 | } |
| 27 | |
| 28 | /******************************************************************************* |
| 29 | * This function returns the list of executable images. |
| 30 | ******************************************************************************/ |
| 31 | bl_params_t *plat_get_next_bl_params(void) |
| 32 | { |
| 33 | return get_next_bl_params_from_mem_params_desc(); |
| 34 | } |