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