plat_imx8.h 741 Bytes
Newer Older
1
2
3
4
5
6
/*
 * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
8
#ifndef PLAT_IMX8_H
#define PLAT_IMX8_H
9

10
11
#include <drivers/arm/gicv3.h>
#include <lib/psci/psci.h>
12
13
14
15
16
17
18
19
20

unsigned int plat_calc_core_pos(uint64_t mpidr);
void imx_mailbox_init(uintptr_t base_addr);
void plat_gic_driver_init(void);
void plat_gic_init(void);
void plat_gic_cpuif_enable(void);
void plat_gic_cpuif_disable(void);
void plat_gic_pcpu_init(void);

21
void __dead2 imx_system_off(void);
22
void __dead2 imx_system_reset(void);
23
24
25
int imx_validate_power_state(unsigned int power_state,
			psci_power_state_t *req_state);
void imx_get_sys_suspend_power_state(psci_power_state_t *req_state);
26
27

#endif /* PLAT_IMX8_H */