Jorge Ramirez-Ortiz | a29d9a6 | 2017-06-28 10:11:31 +0200 | [diff] [blame] | 1 | /* |
Antonio Nino Diaz | 6766bb1 | 2018-10-26 11:12:31 +0100 | [diff] [blame] | 2 | * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. |
Jorge Ramirez-Ortiz | a29d9a6 | 2017-06-28 10:11:31 +0200 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef PLAT_PRIVATE_H |
| 8 | #define PLAT_PRIVATE_H |
Jorge Ramirez-Ortiz | a29d9a6 | 2017-06-28 10:11:31 +0200 | [diff] [blame] | 9 | |
| 10 | #include <bl_common.h> |
| 11 | #include "hi3798cv200.h" |
| 12 | |
| 13 | void 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 | |
| 20 | void 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-Ortiz | a29d9a6 | 2017-06-28 10:11:31 +0200 | [diff] [blame] | 27 | void plat_io_setup(void); |
| 28 | |
Antonio Nino Diaz | 6766bb1 | 2018-10-26 11:12:31 +0100 | [diff] [blame] | 29 | unsigned int poplar_calc_core_pos(u_register_t mpidr); |
| 30 | |
| 31 | void poplar_gic_driver_init(void); |
| 32 | void poplar_gic_init(void); |
| 33 | void poplar_gic_cpuif_enable(void); |
| 34 | void poplar_gic_pcpu_init(void); |
| 35 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 36 | #endif /* PLAT_PRIVATE_H */ |