2017-05-24 01:49:26 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*/
|
|
|
|
|
2018-11-08 10:20:19 +00:00
|
|
|
#ifndef HISI_PWRC_H
|
|
|
|
#define HISI_PWRC_H
|
2017-05-24 01:49:26 +01:00
|
|
|
|
2019-07-09 21:49:11 +01:00
|
|
|
#ifndef __ASSEMBLER__
|
2017-05-24 01:49:26 +01:00
|
|
|
|
|
|
|
void hisi_pwrc_set_cluster_wfi(unsigned int id);
|
|
|
|
void hisi_pwrc_set_core_bx_addr(unsigned int core,
|
|
|
|
unsigned int cluster,
|
|
|
|
uintptr_t entry_point);
|
2017-09-07 07:56:32 +01:00
|
|
|
void hisi_pwrc_enable_debug(unsigned int core,
|
|
|
|
unsigned int cluster);
|
2017-05-24 01:49:26 +01:00
|
|
|
int hisi_pwrc_setup(void);
|
|
|
|
|
2019-07-09 21:49:11 +01:00
|
|
|
#endif /*__ASSEMBLER__*/
|
2017-05-24 01:49:26 +01:00
|
|
|
|
2018-11-08 10:20:19 +00:00
|
|
|
#endif /* HISI_PWRC_H */
|