blob: cfb129b144c0bc3e973c22509d84c8b9bcdc91c2 [file] [log] [blame]
Gregory CLEMENT31af49d2012-06-01 18:21:46 +02001/*
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
Robin Holt7b6d8642013-07-08 16:01:40 -070018#include <linux/reboot.h>
19
20void mvebu_restart(enum reboot_mode mode, const char *cmd);
Thomas Petazzoni3f20fb12014-04-14 15:50:28 +020021int mvebu_cpu_reset_deassert(int cpu);
Gregory CLEMENT31af49d2012-06-01 18:21:46 +020022
Gregory CLEMENT45f59842012-11-14 22:51:08 +010023void armada_xp_cpu_die(unsigned int cpu);
Thomas Petazzoni11dc35e2013-12-26 09:20:26 +010024
Gregory CLEMENT31af49d2012-06-01 18:21:46 +020025#endif