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); | ||||
16 | int hisi_pwrc_setup(void); | ||||
17 | |||||
18 | #endif /*__ASSEMBLY__*/ | ||||
19 | |||||
20 | #endif /* __HISI_PWRC_H__ */ |