core.h 388 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __HIGHBANK_CORE_H
  3. #define __HIGHBANK_CORE_H
  4. #include <linux/reboot.h>
  5. extern void highbank_restart(enum reboot_mode, const char *);
  6. extern void __iomem *scu_base_addr;
  7. #ifdef CONFIG_PM_SLEEP
  8. extern void highbank_pm_init(void);
  9. #else
  10. static inline void highbank_pm_init(void) {}
  11. #endif
  12. extern void highbank_smc1(int fn, int arg);
  13. #endif