zynqmp_private.h 735 Bytes
Newer Older
1
2
3
/*
 * Copyright (c) 2014-2016, ARM Limited and Contributors. All rights reserved.
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
7
8
9
 */

#ifndef __ZYNQMP_PRIVATE_H__
#define __ZYNQMP_PRIVATE_H__

10
#include <bl_common.h>
11
12
13
14
15
16
17
#include <interrupt_mgmt.h>

void zynqmp_config_setup(void);

/* ZynqMP specific functions */
unsigned int zynqmp_get_uart_clk(void);
int zynqmp_is_pmu_up(void);
18
unsigned int zynqmp_get_bootmode(void);
19

Michal Simek's avatar
Michal Simek committed
20
/* For FSBL handover */
21
22
23
24
25
26
27
28
enum fsbl_handoff {
	FSBL_HANDOFF_SUCCESS = 0,
	FSBL_HANDOFF_NO_STRUCT,
	FSBL_HANDOFF_INVAL_STRUCT,
	FSBL_HANDOFF_TOO_MANY_PARTS,
};

enum fsbl_handoff fsbl_atf_handover(entry_point_info_t *bl32_image_ep_info,
Michal Simek's avatar
Michal Simek committed
29
30
		       entry_point_info_t *bl33_image_ep_info);

31
#endif /* __ZYNQMP_PRIVATE_H__ */