blob: f1cc297dd427750f6c3ecc40c4a871bd5465558a [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
10#ifndef __ASSEMBLY__
11
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
20#endif /*__ASSEMBLY__*/
21
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000022#endif /* HISI_PWRC_H */