xref: /openbmc/linux/arch/arm/mach-hisi/core.h (revision a8da474e)
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 struct smp_operations hix5hd2_smp_ops;
16 extern void hix5hd2_set_cpu(int cpu, bool enable);
17 extern void hix5hd2_cpu_die(unsigned int cpu);
18 
19 extern struct smp_operations hip01_smp_ops;
20 extern void hip01_set_cpu(int cpu, bool enable);
21 extern void hip01_cpu_die(unsigned int cpu);
22 #endif
23