blob: 63b7d766f540773416492e4460d02632fdd61596 [file] [log] [blame]
Jorge Ramirez-Ortiza29d9a62017-06-28 10:11:31 +02001/*
Antonio Nino Diaz6766bb12018-10-26 11:12:31 +01002 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
Jorge Ramirez-Ortiza29d9a62017-06-28 10:11:31 +02003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef __PLAT_PRIVATE_H__
8#define __PLAT_PRIVATE_H__
9
10#include <bl_common.h>
11#include "hi3798cv200.h"
12
13void plat_configure_mmu_el3(unsigned long total_base,
14 unsigned long total_size,
15 unsigned long ro_start,
16 unsigned long ro_limit,
17 unsigned long coh_start,
18 unsigned long coh_limit);
19
20void plat_configure_mmu_el1(unsigned long total_base,
21 unsigned long total_size,
22 unsigned long ro_start,
23 unsigned long ro_limit,
24 unsigned long coh_start,
25 unsigned long coh_limit);
26
Jorge Ramirez-Ortiza29d9a62017-06-28 10:11:31 +020027void plat_io_setup(void);
28
Antonio Nino Diaz6766bb12018-10-26 11:12:31 +010029unsigned int poplar_calc_core_pos(u_register_t mpidr);
30
31void poplar_gic_driver_init(void);
32void poplar_gic_init(void);
33void poplar_gic_cpuif_enable(void);
34void poplar_gic_pcpu_init(void);
35
Jorge Ramirez-Ortiza29d9a62017-06-28 10:11:31 +020036#endif /* __PLAT_PRIVATE_H__ */