blob: 78b5331e432948494b1abdee1d8a7c684c8f78f1 [file] [log] [blame]
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +03001/*
2 * Copyright (C) 2018 Marvell International Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 * https://spdx.org/licenses
6 */
7
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00008#ifndef MARVELL_PLAT_PRIV_H
9#define MARVELL_PLAT_PRIV_H
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +030010
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000011#include <lib/utils.h>
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +030012
13/*****************************************************************************
14 * Function and variable prototypes
15 *****************************************************************************
16 */
17void plat_delay_timer_init(void);
18
19uint64_t mvebu_get_dram_size(uint64_t ap_base_addr);
20
21/*
22 * GIC operation, mandatory functions required in Marvell standard platforms
23 */
24void plat_marvell_gic_driver_init(void);
25void plat_marvell_gic_init(void);
26void plat_marvell_gic_cpuif_enable(void);
27void plat_marvell_gic_cpuif_disable(void);
28void plat_marvell_gic_pcpu_init(void);
29void plat_marvell_gic_irq_save(void);
30void plat_marvell_gic_irq_restore(void);
31void plat_marvell_gic_irq_pcpu_save(void);
32void plat_marvell_gic_irq_pcpu_restore(void);
33
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000034#endif /* MARVELL_PLAT_PRIV_H */