xref: /openbmc/linux/arch/arm/mach-mvebu/common.h (revision f5f5c44c)
1 /*
2  * Core functions for Marvell System On Chip
3  *
4  * Copyright (C) 2012 Marvell
5  *
6  * Lior Amsalem <alior@marvell.com>
7  * Gregory CLEMENT <gregory.clement@free-electrons.com>
8  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9  *
10  * This file is licensed under the terms of the GNU General Public
11  * License version 2.  This program is licensed "as is" without any
12  * warranty of any kind, whether express or implied.
13  */
14 
15 #ifndef __ARCH_MVEBU_COMMON_H
16 #define __ARCH_MVEBU_COMMON_H
17 
18 #include <linux/reboot.h>
19 
20 void mvebu_restart(enum reboot_mode mode, const char *cmd);
21 
22 void armada_xp_cpu_die(unsigned int cpu);
23 void armada_xp_secondary_startup(void);
24 extern struct smp_operations armada_xp_smp_ops;
25 #endif
26