poplar_image_load.c 1.2 KB

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