2016-03-07 04:16:27 +00:00
|
|
|
/*
|
2020-01-07 10:25:16 +00:00
|
|
|
* Copyright (c) 2014-2020, ARM Limited and Contributors. All rights reserved.
|
2016-03-07 04:16:27 +00:00
|
|
|
*
|
2017-05-03 09:38:09 +01:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2016-03-07 04:16:27 +00:00
|
|
|
*/
|
|
|
|
|
2019-01-08 19:10:47 +00:00
|
|
|
#ifndef PLAT_PRIVATE_H
|
|
|
|
#define PLAT_PRIVATE_H
|
2016-03-07 04:16:27 +00:00
|
|
|
|
2018-10-17 16:46:41 +01:00
|
|
|
#include <stdint.h>
|
2016-03-07 04:16:27 +00:00
|
|
|
|
2018-12-14 00:18:21 +00:00
|
|
|
#include <bl31/interrupt_mgmt.h>
|
|
|
|
#include <common/bl_common.h>
|
2019-05-29 11:46:08 +01:00
|
|
|
#include <drivers/cadence/cdns_uart.h>
|
2018-12-14 00:18:21 +00:00
|
|
|
|
2016-03-07 04:16:27 +00:00
|
|
|
void zynqmp_config_setup(void);
|
|
|
|
|
2018-10-17 16:46:41 +01:00
|
|
|
unsigned int zynqmp_calc_core_pos(u_register_t mpidr);
|
|
|
|
|
2016-03-07 04:16:27 +00:00
|
|
|
/* ZynqMP specific functions */
|
|
|
|
unsigned int zynqmp_get_uart_clk(void);
|
2016-04-18 19:49:42 +01:00
|
|
|
unsigned int zynqmp_get_bootmode(void);
|
2016-03-07 04:16:27 +00:00
|
|
|
|
2018-05-17 10:47:46 +01:00
|
|
|
|
2018-04-30 15:42:12 +01:00
|
|
|
#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
|
|
|
|
|
2019-01-08 19:10:47 +00:00
|
|
|
#endif /* PLAT_PRIVATE_H */
|