powerpc: Delete __cpuinit usage from all users
[linux/fpc-iii.git] / arch / arm / mach-mvebu / armada-370-xp.h
blob2070e1b4f34241685f451b024b87a8ab43c63fcb
1 /*
2 * Generic definitions for Marvell Armada_370_XP SoCs
4 * Copyright (C) 2012 Marvell
6 * Lior Amsalem <alior@marvell.com>
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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.
15 #ifndef __MACH_ARMADA_370_XP_H
16 #define __MACH_ARMADA_370_XP_H
18 #define ARMADA_370_XP_REGS_PHYS_BASE 0xd0000000
19 #define ARMADA_370_XP_REGS_VIRT_BASE IOMEM(0xfec00000)
20 #define ARMADA_370_XP_REGS_SIZE SZ_1M
22 /* These defines can go away once mvebu-mbus has a DT binding */
23 #define ARMADA_370_XP_MBUS_WINS_BASE (ARMADA_370_XP_REGS_PHYS_BASE + 0x20000)
24 #define ARMADA_370_XP_MBUS_WINS_SIZE 0x100
25 #define ARMADA_370_XP_SDRAM_WINS_BASE (ARMADA_370_XP_REGS_PHYS_BASE + 0x20180)
26 #define ARMADA_370_XP_SDRAM_WINS_SIZE 0x20
28 #ifdef CONFIG_SMP
29 #include <linux/cpumask.h>
31 void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq);
32 void armada_xp_mpic_smp_cpu_init(void);
33 #endif
35 #endif /* __MACH_ARMADA_370_XP_H */