xref: /rk3399_ARM-atf/plat/hisilicon/hikey/include/hisi_pwrc.h (revision ff2743e544f0f82381ebb9dff8f14eacb837d2e0)
1 /*
2  * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef __HISI_PWRC_H__
8 #define __HISI_PWRC_H__
9 
10 #ifndef __ASSEMBLY__
11 
12 void hisi_pwrc_set_cluster_wfi(unsigned int id);
13 void hisi_pwrc_set_core_bx_addr(unsigned int core,
14 				unsigned int cluster,
15 				uintptr_t entry_point);
16 void hisi_pwrc_enable_debug(unsigned int core,
17 			    unsigned int cluster);
18 int hisi_pwrc_setup(void);
19 
20 #endif /*__ASSEMBLY__*/
21 
22 #endif /* __HISI_PWRC_H__ */
23