kernel: update kernel 4.1 to version 4.1.11
[openwrt/svn-archive/archive.git] / target / linux / bcm53xx / patches-4.1 / 131-ARM-BCM-Add-SMP-support-for-Broadcom-4708.patch
1 From ddbf0ad85be06948dd214c7beb7b315ef2749e65 Mon Sep 17 00:00:00 2001
2 From: Jon Mason <jonmason@broadcom.com>
3 Date: Thu, 15 Oct 2015 14:14:10 -0400
4 Subject: [PATCH] ARM: BCM: Add SMP support for Broadcom 4708
5
6 ARM: BCM: Add SMP support for Broadcom 4708
7
8 Add SMP support for Broadcom's 4708 SoCs.
9
10 Signed-off-by: Jon Mason <jonmason@broadcom.com>
11 ---
12 arch/arm/boot/dts/bcm4708.dtsi | 2 ++
13 arch/arm/mach-bcm/Kconfig | 2 ++
14 arch/arm/mach-bcm/Makefile | 3 +++
15 3 files changed, 7 insertions(+)
16
17 --- a/arch/arm/boot/dts/bcm4708.dtsi
18 +++ b/arch/arm/boot/dts/bcm4708.dtsi
19 @@ -15,6 +15,8 @@
20 cpus {
21 #address-cells = <1>;
22 #size-cells = <0>;
23 + enable-method = "brcm,bcm-nsp-smp";
24 + secondary-boot-reg = <0xffff0400>;
25
26 cpu@0 {
27 device_type = "cpu";
28 --- a/arch/arm/mach-bcm/Kconfig
29 +++ b/arch/arm/mach-bcm/Kconfig
30 @@ -38,6 +38,8 @@ config ARCH_BCM_CYGNUS
31 config ARCH_BCM_5301X
32 bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7
33 select ARCH_BCM_IPROC
34 + select ARM_ERRATA_764369 if SMP
35 + select HAVE_SMP
36 help
37 Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
38
39 --- a/arch/arm/mach-bcm/Makefile
40 +++ b/arch/arm/mach-bcm/Makefile
41 @@ -36,6 +36,9 @@ obj-$(CONFIG_ARCH_BCM2835) += board_bcm2
42
43 # BCM5301X
44 obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o
45 +ifeq ($(CONFIG_ARCH_BCM_5301X),y)
46 +obj-$(CONFIG_SMP) += headsmp.o platsmp.o
47 +endif
48
49 # BCM63XXx
50 obj-$(CONFIG_ARCH_BCM_63XX) := bcm63xx.o