summaryrefslogtreecommitdiffstats
path: root/plat/hisilicon/hikey/include/hisi_pwrc.h
blob: cbb465134e2ecf8051be98c11f28c0a3af74e3a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef HISI_PWRC_H
#define HISI_PWRC_H

#ifndef __ASSEMBLER__

void hisi_pwrc_set_cluster_wfi(unsigned int id);
void hisi_pwrc_set_core_bx_addr(unsigned int core,
				unsigned int cluster,
				uintptr_t entry_point);
void hisi_pwrc_enable_debug(unsigned int core,
			    unsigned int cluster);
int hisi_pwrc_setup(void);

#endif /*__ASSEMBLER__*/

#endif /* HISI_PWRC_H */