xref: /linux/arch/arm/mach-hisi/core.h (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
1 #ifndef __HISILICON_CORE_H
2 #define __HISILICON_CORE_H
3 
4 #include <linux/reboot.h>
5 
6 extern void hi3xxx_set_cpu_jump(int cpu, void *jump_addr);
7 extern int hi3xxx_get_cpu_jump(int cpu);
8 extern void secondary_startup(void);
9 
10 extern void hi3xxx_cpu_die(unsigned int cpu);
11 extern int hi3xxx_cpu_kill(unsigned int cpu);
12 extern void hi3xxx_set_cpu(int cpu, bool enable);
13 
14 extern void hix5hd2_set_cpu(int cpu, bool enable);
15 extern void hix5hd2_cpu_die(unsigned int cpu);
16 
17 extern void hip01_set_cpu(int cpu, bool enable);
18 #endif
19