zynqmp_private.h 707 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
#include <interrupt_mgmt.h>

void zynqmp_config_setup(void);

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

Michal Simek's avatar
Michal Simek committed
19
/* For FSBL handover */
20
21
22
23
24
25
26
27
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
28
29
		       entry_point_info_t *bl33_image_ep_info);

30
#endif /* __ZYNQMP_PRIVATE_H__ */