marvell_image_load.c 1.2 KB

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