blob: 4950d24722008cf1e04a4b8e81565cb0dcf5b822 [file] [log] [blame]
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +03001/*
2 * Copyright (C) 2018 Marvell International Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 * https://spdx.org/licenses
6 */
7
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00008#ifndef MSS_SCP_BOOTLOADER_H
9#define MSS_SCP_BOOTLOADER_H
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +030010
11int scp_bootloader_transfer(void *image, unsigned int image_size);
12uintptr_t bl2_plat_get_cp_mss_regs(int ap_idx, int cp_idx);
13uintptr_t bl2_plat_get_ap_mss_regs(int ap_idx);
14uint32_t bl2_plat_get_cp_count(int ap_idx);
15uint32_t bl2_plat_get_ap_count(void);
16void bl2_plat_configure_mss_windows(uintptr_t mss_regs);
17int bl2_plat_mss_check_image_ready(void);
18
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000019#endif /* MSS_SCP_BOOTLOADER_H */