summaryrefslogtreecommitdiff
path: root/include/plat/marvell/common/marvell_plat_priv.h
blob: 6f0b588a7f17d182047afc2b2554d01e917bb098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Copyright (C) 2018 Marvell International Ltd.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 * https://spdx.org/licenses
 */

#ifndef MARVELL_PLAT_PRIV_H
#define MARVELL_PLAT_PRIV_H

#include <utils.h>

/*****************************************************************************
 * Function and variable prototypes
 *****************************************************************************
 */
void plat_delay_timer_init(void);

uint64_t mvebu_get_dram_size(uint64_t ap_base_addr);

/*
 * GIC operation, mandatory functions required in Marvell standard platforms
 */
void plat_marvell_gic_driver_init(void);
void plat_marvell_gic_init(void);
void plat_marvell_gic_cpuif_enable(void);
void plat_marvell_gic_cpuif_disable(void);
void plat_marvell_gic_pcpu_init(void);
void plat_marvell_gic_irq_save(void);
void plat_marvell_gic_irq_restore(void);
void plat_marvell_gic_irq_pcpu_save(void);
void plat_marvell_gic_irq_pcpu_restore(void);

#endif /* MARVELL_PLAT_PRIV_H */