blob: e302096ebd7a2d1238ad4b63ad689ff3096e874b [file] [log] [blame]
Siva Durga Prasad Paladugufe4af662018-09-25 18:44:58 +05301/*
Tejas Patel69409962018-12-14 00:55:29 -08002 * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
Siva Durga Prasad Paladugufe4af662018-09-25 18:44:58 +05303 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Tejas Patel69409962018-12-14 00:55:29 -08007#ifndef PLAT_PRIVATE_H
8#define PLAT_PRIVATE_H
Siva Durga Prasad Paladugufe4af662018-09-25 18:44:58 +05309
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000010#include <lib/xlat_tables/xlat_tables.h>
Siva Durga Prasad Paladugufe4af662018-09-25 18:44:58 +053011
12void versal_config_setup(void);
13
14const mmap_region_t *plat_versal_get_mmap(void);
15
16void plat_versal_gic_driver_init(void);
17void plat_versal_gic_init(void);
18void plat_versal_gic_cpuif_enable(void);
19void plat_versal_gic_cpuif_disable(void);
20void plat_versal_gic_pcpu_init(void);
Tejas Patel54d13192019-02-27 18:44:55 +053021void plat_versal_gic_save(void);
22void plat_versal_gic_resume(void);
Siva Durga Prasad Paladugufe4af662018-09-25 18:44:58 +053023
24unsigned int versal_calc_core_pos(u_register_t mpidr);
25
Tejas Patel69409962018-12-14 00:55:29 -080026#endif /* PLAT_PRIVATE_H */