2024-09-09 08:57:42 +00:00
|
|
|
#ifndef __HIGHBANK_CORE_H
|
|
|
|
#define __HIGHBANK_CORE_H
|
|
|
|
|
|
|
|
#include <linux/reboot.h>
|
|
|
|
|
|
|
|
extern void highbank_restart(enum reboot_mode, const char *);
|
2024-09-09 08:52:07 +00:00
|
|
|
extern void __iomem *scu_base_addr;
|
2024-09-09 08:57:42 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_PM_SLEEP
|
|
|
|
extern void highbank_pm_init(void);
|
2024-09-09 08:52:07 +00:00
|
|
|
#else
|
2024-09-09 08:57:42 +00:00
|
|
|
static inline void highbank_pm_init(void) {}
|
2024-09-09 08:52:07 +00:00
|
|
|
#endif
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
extern void highbank_smc1(int fn, int arg);
|
|
|
|
|
|
|
|
#endif
|