2012-06-02 00:21:46 +08:00
|
|
|
/*
|
|
|
|
* Core functions for Marvell System On Chip
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Marvell
|
|
|
|
*
|
|
|
|
* Lior Amsalem <alior@marvell.com>
|
|
|
|
* Gregory CLEMENT <gregory.clement@free-electrons.com>
|
|
|
|
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
|
|
|
* License version 2. This program is licensed "as is" without any
|
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ARCH_MVEBU_COMMON_H
|
|
|
|
#define __ARCH_MVEBU_COMMON_H
|
|
|
|
|
|
|
|
void mvebu_restart(char mode, const char *cmd);
|
|
|
|
|
2012-06-14 01:01:28 +08:00
|
|
|
void armada_370_xp_init_irq(void);
|
|
|
|
void armada_370_xp_handle_irq(struct pt_regs *regs);
|
|
|
|
|
2012-11-15 05:51:08 +08:00
|
|
|
void armada_xp_cpu_die(unsigned int cpu);
|
2012-08-02 16:16:29 +08:00
|
|
|
int armada_370_xp_coherency_init(void);
|
2012-08-02 16:17:51 +08:00
|
|
|
int armada_370_xp_pmsu_init(void);
|
2012-11-15 05:51:08 +08:00
|
|
|
void armada_xp_secondary_startup(void);
|
|
|
|
extern struct smp_operations armada_xp_smp_ops;
|
2012-06-02 00:21:46 +08:00
|
|
|
#endif
|