xref: /openbmc/linux/arch/arm/mach-hisi/core.h (revision 6774def6)
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 extern struct smp_operations hi3xxx_smp_ops;
10 
11 extern void hi3xxx_cpu_die(unsigned int cpu);
12 extern int hi3xxx_cpu_kill(unsigned int cpu);
13 extern void hi3xxx_set_cpu(int cpu, bool enable);
14 
15 extern void hix5hd2_secondary_startup(void);
16 extern struct smp_operations hix5hd2_smp_ops;
17 extern void hix5hd2_set_cpu(int cpu, bool enable);
18 extern void hix5hd2_cpu_die(unsigned int cpu);
19 
20 #endif
21