ls_image_load.c 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright 2018-2020 NXP
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. *
  6. */
  7. #include <common/desc_image_load.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. return get_next_bl_params_from_mem_params_desc();
  29. }