Haojian Zhuang | 3846f14 | 2017-05-24 08:49:26 +0800 | [diff] [blame] | 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); |
Leo Yan | f471c42 | 2017-09-07 14:56:32 +0800 | [diff] [blame] | 16 | void hisi_pwrc_enable_debug(unsigned int core, |
| 17 | unsigned int cluster); |
Haojian Zhuang | 3846f14 | 2017-05-24 08:49:26 +0800 | [diff] [blame] | 18 | int hisi_pwrc_setup(void); |
| 19 | |
| 20 | #endif /*__ASSEMBLY__*/ |
| 21 | |
| 22 | #endif /* __HISI_PWRC_H__ */ |