2017-08-12 10:07:39 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SUNXI_PRIVATE_H__
|
|
|
|
#define __SUNXI_PRIVATE_H__
|
|
|
|
|
|
|
|
void sunxi_configure_mmu_el3(int flags);
|
2017-08-12 10:07:39 +01:00
|
|
|
void sunxi_cpu_off(unsigned int cluster, unsigned int core);
|
|
|
|
void sunxi_cpu_on(unsigned int cluster, unsigned int core);
|
|
|
|
void sunxi_disable_secondary_cpus(unsigned int primary_cpu);
|
2017-08-12 10:07:39 +01:00
|
|
|
|
2018-06-22 00:47:08 +01:00
|
|
|
uint16_t sunxi_read_soc_id(void);
|
2018-07-21 13:41:12 +01:00
|
|
|
|
|
|
|
void sunxi_pmic_setup(void);
|
2018-06-01 02:01:39 +01:00
|
|
|
void sunxi_security_setup(void);
|
|
|
|
|
2018-07-22 14:52:50 +01:00
|
|
|
void __dead2 sunxi_power_down(void);
|
|
|
|
|
2017-08-12 10:07:39 +01:00
|
|
|
#endif /* __SUNXI_PRIVATE_H__ */
|