fpga_private.h 612 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef FPGA_PRIVATE_H
#define FPGA_PRIVATE_H

10
11
12
13
14
15
16
17
18
#include "../fpga_def.h"
#include <platform_def.h>

#define C_RUNTIME_READY_KEY	(0xaa55aa55)
#define VALID_MPID		(1U)

#ifndef __ASSEMBLER__

extern unsigned char fpga_valid_mpids[PLATFORM_CORE_COUNT];
19
20
21

void fpga_console_init(void);

22
23
24
void plat_fpga_gic_init(void);
void fpga_pwr_gic_on_finish(void);
void fpga_pwr_gic_off(void);
25
26
27
unsigned int plat_fpga_calc_core_pos(uint32_t mpid);

#endif /* __ASSEMBLER__ */
28

29
#endif /* FPGA_PRIVATE_H */