blob: 3aeccc42418d9048f455e52c21aa0d61f916f870 [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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef PLAT_PRIVATE_H
8#define PLAT_PRIVATE_H
Jorge Ramirez-Ortiza29d9a62017-06-28 10:11:31 +02009
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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000036#endif /* PLAT_PRIVATE_H */