Konstantin Porotchkin | f69ec58 | 2018-06-07 18:31:14 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 Marvell International Ltd. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * https://spdx.org/licenses |
| 6 | */ |
| 7 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 8 | #ifndef MSS_SCP_BOOTLOADER_H |
| 9 | #define MSS_SCP_BOOTLOADER_H |
Konstantin Porotchkin | f69ec58 | 2018-06-07 18:31:14 +0300 | [diff] [blame] | 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_ap_mss_regs(int ap_idx); |
| 14 | uint32_t bl2_plat_get_cp_count(int ap_idx); |
| 15 | uint32_t bl2_plat_get_ap_count(void); |
| 16 | void bl2_plat_configure_mss_windows(uintptr_t mss_regs); |
| 17 | int bl2_plat_mss_check_image_ready(void); |
| 18 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 19 | #endif /* MSS_SCP_BOOTLOADER_H */ |