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

7
8
#ifndef PLAT_PRIVATE_H
#define PLAT_PRIVATE_H
9

10
#include <stdint.h>
11

12
13
#include <bl31/interrupt_mgmt.h>
#include <common/bl_common.h>
14
#include <drivers/cadence/cdns_uart.h>
15

16
17
void zynqmp_config_setup(void);

18
19
unsigned int zynqmp_calc_core_pos(u_register_t mpidr);

20
21
/* ZynqMP specific functions */
unsigned int zynqmp_get_uart_clk(void);
22
unsigned int zynqmp_get_bootmode(void);
23

24

25
26
27
28
29
30
31
32
#if ZYNQMP_WDT_RESTART
/*
 * Register handler to specific GIC entrance
 * for INTR_TYPE_EL3 type of interrupt
 */
int request_intr_type_el3(uint32_t, interrupt_type_handler_t);
#endif

33
#endif /* PLAT_PRIVATE_H */