plat_image_load.c 1.2 KB

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