blob: aea1ec5ab6f8ec51b318ef617e2b2cefebca3df4 [file] [log] [blame]
Olof Johanssona7e816b2012-11-06 11:09:10 -08001#ifndef __HIGHBANK_CORE_H
2#define __HIGHBANK_CORE_H
3
Robin Holt7b6d8642013-07-08 16:01:40 -07004#include <linux/reboot.h>
5
Rob Herring220e6cf2011-06-07 10:02:55 -05006extern void highbank_set_cpu_jump(int cpu, void *jump_addr);
Robin Holt7b6d8642013-07-08 16:01:40 -07007extern void highbank_restart(enum reboot_mode, const char *);
Rob Herring220e6cf2011-06-07 10:02:55 -05008extern void __iomem *scu_base_addr;
Rob Herring220e6cf2011-06-07 10:02:55 -05009
Rob Herringa2835802012-09-17 09:55:12 -050010#ifdef CONFIG_PM_SLEEP
11extern void highbank_pm_init(void);
12#else
13static inline void highbank_pm_init(void) {}
14#endif
15
Rob Herring8e561302012-06-06 17:20:10 -050016extern void highbank_smc1(int fn, int arg);
Marc Zyngier7ad71b62012-09-05 14:36:18 +000017extern void highbank_cpu_die(unsigned int cpu);
18
19extern struct smp_operations highbank_smp_ops;
Olof Johanssona7e816b2012-11-06 11:09:10 -080020
21#endif