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 | |
Robin Holt | 7b6d864 | 2013-07-08 16:01:40 -0700 | [diff] [blame] | 6 | extern void highbank_restart(enum reboot_mode, const char *); |
Rob Herring | 220e6cf | 2011-06-07 10:02:55 -0500 | [diff] [blame] | 7 | extern void __iomem *scu_base_addr; |
Rob Herring | 220e6cf | 2011-06-07 10:02:55 -0500 | [diff] [blame] | 8 | |
Rob Herring | a283580 | 2012-09-17 09:55:12 -0500 | [diff] [blame] | 9 | #ifdef CONFIG_PM_SLEEP |
| 10 | extern void highbank_pm_init(void); |
| 11 | #else |
| 12 | static inline void highbank_pm_init(void) {} |
| 13 | #endif |
| 14 | |
Rob Herring | 8e56130 | 2012-06-06 17:20:10 -0500 | [diff] [blame] | 15 | extern void highbank_smc1(int fn, int arg); |
Olof Johansson | a7e816b | 2012-11-06 11:09:10 -0800 | [diff] [blame] | 16 | |
| 17 | #endif |