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