common.h 802 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Core functions for Marvell System On Chip
  4. *
  5. * Copyright (C) 2012 Marvell
  6. *
  7. * Lior Amsalem <[email protected]>
  8. * Gregory CLEMENT <[email protected]>
  9. * Thomas Petazzoni <[email protected]>
  10. */
  11. #ifndef __ARCH_MVEBU_COMMON_H
  12. #define __ARCH_MVEBU_COMMON_H
  13. #include <linux/reboot.h>
  14. void mvebu_restart(enum reboot_mode mode, const char *cmd);
  15. int mvebu_cpu_reset_deassert(int cpu);
  16. void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr);
  17. void mvebu_system_controller_set_cpu_boot_addr(void *boot_addr);
  18. int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev);
  19. void __iomem *mvebu_get_scu_base(void);
  20. int mvebu_pm_suspend_init(void (*board_pm_enter)(void __iomem *sdram_reg,
  21. u32 srcmd));
  22. #endif