summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm/board_bcm2835.c
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2017-08-06 18:52:02 +0300
committerFlorian Fainelli <f.fainelli@gmail.com>2017-09-25 21:52:26 +0300
commit88bbe85dcd37aa2662c1a83962c15009fc12503e (patch)
treefd805241038275a14c8050d26e3201e8ed7c73be /arch/arm/mach-bcm/board_bcm2835.c
parent1d66af81905a4e2f3d03913f5449a8e9b5d3facd (diff)
downloadlinux-88bbe85dcd37aa2662c1a83962c15009fc12503e.tar.xz
irqchip: bcm2836: Move SMP startup code to arch/arm (v2)
In order to easily provide SMP for BCM2837 on 32-bit and 64-bit the SMP startup code was placed in irq-bcm2836. That's not the right approach. So move this code where it belongs. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Fixes: 41f4988cc287 ("irqchip/bcm2836: Add SMP support for the 2836") Tested-by: Eric Anholt <eric@anholt.net> Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/mach-bcm/board_bcm2835.c')
-rw-r--r--arch/arm/mach-bcm/board_bcm2835.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-bcm/board_bcm2835.c b/arch/arm/mach-bcm/board_bcm2835.c
index 24af33f91705..8cff865ace04 100644
--- a/arch/arm/mach-bcm/board_bcm2835.c
+++ b/arch/arm/mach-bcm/board_bcm2835.c
@@ -19,16 +19,20 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
+#include "platsmp.h"
+
static const char * const bcm2835_compat[] = {
#ifdef CONFIG_ARCH_MULTI_V6
"brcm,bcm2835",
#endif
#ifdef CONFIG_ARCH_MULTI_V7
"brcm,bcm2836",
+ "brcm,bcm2837",
#endif
NULL
};
DT_MACHINE_START(BCM2835, "BCM2835")
- .dt_compat = bcm2835_compat
+ .dt_compat = bcm2835_compat,
+ .smp = smp_ops(bcm2836_smp_ops),
MACHINE_END