blob: 84cd90d9b8609a1990fb4f2d0ce2a999740973fc [file] [log] [blame]
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +02001/*
2 * Generic definitions for Marvell Armada_370_XP SoCs
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 __MACH_ARMADA_370_XP_H
16#define __MACH_ARMADA_370_XP_H
17
Gregory CLEMENT344e8732012-08-02 11:19:12 +030018#ifdef CONFIG_SMP
19#include <linux/cpumask.h>
20
Thomas Petazzoni59adf4b2013-12-23 09:48:09 +010021#define ARMADA_XP_MAX_CPUS 4
22
Thomas Petazzoni11dc35e2013-12-26 09:20:26 +010023void armada_xp_secondary_startup(void);
24extern struct smp_operations armada_xp_smp_ops;
Gregory CLEMENT344e8732012-08-02 11:19:12 +030025#endif
26
Thomas Petazzoni8ea875e2014-05-30 22:18:16 +020027int armada_370_xp_pmsu_idle_enter(unsigned long deepidle);
Thomas Petazzoni8ea875e2014-05-30 22:18:16 +020028
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020029#endif /* __MACH_ARMADA_370_XP_H */