Olof Johansson | a7e816b | 2012-11-06 11:09:10 -0800 | [diff] [blame] | 1 | #ifndef __HIGHBANK_CORE_H |
| 2 | #define __HIGHBANK_CORE_H |
| 3 | |
Robin Holt | 7b6d864 | 2013-07-08 16:01:40 -0700 | [diff] [blame^] | 4 | #include <linux/reboot.h> |
| 5 | |
Rob Herring | 220e6cf | 2011-06-07 10:02:55 -0500 | [diff] [blame] | 6 | extern void highbank_set_cpu_jump(int cpu, void *jump_addr); |
Robin Holt | 7b6d864 | 2013-07-08 16:01:40 -0700 | [diff] [blame^] | 7 | extern void highbank_restart(enum reboot_mode, const char *); |
Rob Herring | 220e6cf | 2011-06-07 10:02:55 -0500 | [diff] [blame] | 8 | extern void __iomem *scu_base_addr; |
Rob Herring | 220e6cf | 2011-06-07 10:02:55 -0500 | [diff] [blame] | 9 | |
Rob Herring | a283580 | 2012-09-17 09:55:12 -0500 | [diff] [blame] | 10 | #ifdef CONFIG_PM_SLEEP |
| 11 | extern void highbank_pm_init(void); |
| 12 | #else |
| 13 | static inline void highbank_pm_init(void) {} |
| 14 | #endif |
| 15 | |
Rob Herring | 8e56130 | 2012-06-06 17:20:10 -0500 | [diff] [blame] | 16 | extern void highbank_smc1(int fn, int arg); |
Marc Zyngier | 7ad71b6 | 2012-09-05 14:36:18 +0000 | [diff] [blame] | 17 | extern void highbank_cpu_die(unsigned int cpu); |
| 18 | |
| 19 | extern struct smp_operations highbank_smp_ops; |
Olof Johansson | a7e816b | 2012-11-06 11:09:10 -0800 | [diff] [blame] | 20 | |
| 21 | #endif |