blob: e45f494ed289be00b5f22a0fbae05e23b5c0da15 [file] [log] [blame]
Samuel Hollandb8566642017-08-12 04:07:39 -05001/*
2 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef __SUNXI_PRIVATE_H__
8#define __SUNXI_PRIVATE_H__
9
10void sunxi_configure_mmu_el3(int flags);
Samuel Holland321c0ab2017-08-12 04:07:39 -050011void sunxi_cpu_off(unsigned int cluster, unsigned int core);
12void sunxi_cpu_on(unsigned int cluster, unsigned int core);
13void sunxi_disable_secondary_cpus(unsigned int primary_cpu);
Samuel Hollandb8566642017-08-12 04:07:39 -050014
Andre Przywarac2366b92018-06-22 00:47:08 +010015uint16_t sunxi_read_soc_id(void);
Andre Przywara13815472018-06-01 02:01:39 +010016void sunxi_security_setup(void);
17
Samuel Hollandb8566642017-08-12 04:07:39 -050018#endif /* __SUNXI_PRIVATE_H__ */