blob: c1dad0ef4ad59ca05255214d397cc41f91862db1 [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
8#ifndef __MARVELL_PLAT_PRIV_H__
9#define __MARVELL_PLAT_PRIV_H__
10
11#include <utils.h>
12
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
34#endif /* __MARVELL_PLAT_PRIV_H__ */