blob: cbb465134e2ecf8051be98c11f28c0a3af74e3a8 [file] [log] [blame]
Haojian Zhuang3846f142017-05-24 08:49:26 +08001/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef HISI_PWRC_H
8#define HISI_PWRC_H
Haojian Zhuang3846f142017-05-24 08:49:26 +08009
Julius Werner53456fc2019-07-09 13:49:11 -070010#ifndef __ASSEMBLER__
Haojian Zhuang3846f142017-05-24 08:49:26 +080011
12void hisi_pwrc_set_cluster_wfi(unsigned int id);
13void hisi_pwrc_set_core_bx_addr(unsigned int core,
14 unsigned int cluster,
15 uintptr_t entry_point);
Leo Yanf471c422017-09-07 14:56:32 +080016void hisi_pwrc_enable_debug(unsigned int core,
17 unsigned int cluster);
Haojian Zhuang3846f142017-05-24 08:49:26 +080018int hisi_pwrc_setup(void);
19
Julius Werner53456fc2019-07-09 13:49:11 -070020#endif /*__ASSEMBLER__*/
Haojian Zhuang3846f142017-05-24 08:49:26 +080021
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000022#endif /* HISI_PWRC_H */