sunxi_private.h 513 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
/*
 * 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);
11
12
13
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);
14

15
uint16_t sunxi_read_soc_id(void);
Andre Przywara's avatar
Andre Przywara committed
16
17
void sunxi_security_setup(void);

18
#endif /* __SUNXI_PRIVATE_H__ */