mss_scp_bootloader.h 644 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (C) 2018 Marvell International Ltd.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. * https://spdx.org/licenses
  6. */
  7. #ifndef MSS_SCP_BOOTLOADER_H
  8. #define MSS_SCP_BOOTLOADER_H
  9. int scp_bootloader_transfer(void *image, unsigned int image_size);
  10. uintptr_t bl2_plat_get_cp_mss_regs(int ap_idx, int cp_idx);
  11. uintptr_t bl2_plat_get_cp_mss_sram(int ap_idx, int cp_idx);
  12. uintptr_t bl2_plat_get_ap_mss_regs(int ap_idx);
  13. uint32_t bl2_plat_get_cp_count(int ap_idx);
  14. uint32_t bl2_plat_get_ap_count(void);
  15. void bl2_plat_configure_mss_windows(uintptr_t mss_regs);
  16. int bl2_plat_mss_check_image_ready(void);
  17. #endif /* MSS_SCP_BOOTLOADER_H */