xref: /linux/arch/arm/mach-hisi/core.h (revision f3a8b6645dc2e60d11f20c1c23afd964ff4e55ae)
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 extern void hip01_cpu_die(unsigned int cpu);
19 #endif
20