blob: aa27bc2ffb6013575ff8d889b919a9b9b5369cb8 [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
18void mvebu_restart(char mode, const char *cmd);
19
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020020void armada_370_xp_init_irq(void);
21void armada_370_xp_handle_irq(struct pt_regs *regs);
22
Gregory CLEMENT45f59842012-11-14 22:51:08 +010023void armada_xp_cpu_die(unsigned int cpu);
Gregory CLEMENT009f1312012-08-02 11:16:29 +030024int armada_370_xp_coherency_init(void);
Gregory CLEMENT7444dad2012-08-02 11:17:51 +030025int armada_370_xp_pmsu_init(void);
Gregory CLEMENT45f59842012-11-14 22:51:08 +010026void armada_xp_secondary_startup(void);
27extern struct smp_operations armada_xp_smp_ops;
Gregory CLEMENT31af49d2012-06-01 18:21:46 +020028#endif