mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
344e873e56
This patch enhances the IRQ controller driver to add support for Inter-Processor-Interrupts that are needed to enable SMP support. Signed-off-by: Yehuda Yitschak <yehuday@marvell.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
30 lines
853 B
C
30 lines
853 B
C
/*
|
|
* Generic definitions for Marvell Armada_370_XP SoCs
|
|
*
|
|
* 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 __MACH_ARMADA_370_XP_H
|
|
#define __MACH_ARMADA_370_XP_H
|
|
|
|
#define ARMADA_370_XP_REGS_PHYS_BASE 0xd0000000
|
|
#define ARMADA_370_XP_REGS_VIRT_BASE IOMEM(0xfeb00000)
|
|
#define ARMADA_370_XP_REGS_SIZE SZ_1M
|
|
|
|
#ifdef CONFIG_SMP
|
|
#include <linux/cpumask.h>
|
|
|
|
void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq);
|
|
void armada_xp_mpic_smp_cpu_init(void);
|
|
#endif
|
|
|
|
#endif /* __MACH_ARMADA_370_XP_H */
|