2012-11-07 03:09:10 +08:00
|
|
|
#ifndef __HIGHBANK_CORE_H
|
|
|
|
#define __HIGHBANK_CORE_H
|
|
|
|
|
2013-07-09 07:01:40 +08:00
|
|
|
#include <linux/reboot.h>
|
|
|
|
|
2011-06-07 23:02:55 +08:00
|
|
|
extern void highbank_set_cpu_jump(int cpu, void *jump_addr);
|
2013-07-09 07:01:40 +08:00
|
|
|
extern void highbank_restart(enum reboot_mode, const char *);
|
2011-06-07 23:02:55 +08:00
|
|
|
extern void __iomem *scu_base_addr;
|
|
|
|
|
2012-09-17 22:55:12 +08:00
|
|
|
#ifdef CONFIG_PM_SLEEP
|
|
|
|
extern void highbank_pm_init(void);
|
|
|
|
#else
|
|
|
|
static inline void highbank_pm_init(void) {}
|
|
|
|
#endif
|
|
|
|
|
2012-06-07 06:20:10 +08:00
|
|
|
extern void highbank_smc1(int fn, int arg);
|
2012-09-05 22:36:18 +08:00
|
|
|
extern void highbank_cpu_die(unsigned int cpu);
|
|
|
|
|
|
|
|
extern struct smp_operations highbank_smp_ops;
|
2012-11-07 03:09:10 +08:00
|
|
|
|
|
|
|
#endif
|