1*0fdebc5eSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 231af49dbSGregory CLEMENT /* 331af49dbSGregory CLEMENT * Core functions for Marvell System On Chip 431af49dbSGregory CLEMENT * 531af49dbSGregory CLEMENT * Copyright (C) 2012 Marvell 631af49dbSGregory CLEMENT * 731af49dbSGregory CLEMENT * Lior Amsalem <alior@marvell.com> 831af49dbSGregory CLEMENT * Gregory CLEMENT <gregory.clement@free-electrons.com> 931af49dbSGregory CLEMENT * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 1031af49dbSGregory CLEMENT */ 1131af49dbSGregory CLEMENT 1231af49dbSGregory CLEMENT #ifndef __ARCH_MVEBU_COMMON_H 1331af49dbSGregory CLEMENT #define __ARCH_MVEBU_COMMON_H 1431af49dbSGregory CLEMENT 157b6d864bSRobin Holt #include <linux/reboot.h> 167b6d864bSRobin Holt 177b6d864bSRobin Holt void mvebu_restart(enum reboot_mode mode, const char *cmd); 183f20fb11SThomas Petazzoni int mvebu_cpu_reset_deassert(int cpu); 1905ad6906SThomas Petazzoni void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr); 2000504be4SGregory CLEMENT void mvebu_system_controller_set_cpu_boot_addr(void *boot_addr); 219674d4a3SGregory CLEMENT int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev); 2231af49dbSGregory CLEMENT 236a2b5343SGregory CLEMENT void __iomem *mvebu_get_scu_base(void); 246a2b5343SGregory CLEMENT 253cbd6a6cSGregory CLEMENT int mvebu_pm_suspend_init(void (*board_pm_enter)(void __iomem *sdram_reg, 263cbd6a6cSGregory CLEMENT u32 srcmd)); 2731af49dbSGregory CLEMENT #endif 28