bcm53xx: activate workarounds for erratas
[openwrt/staging/chunkeey.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 @@ -41,6 +41,7 @@ config ARCH_BCM_5301X
31 select ARM_ERRATA_754322
32 select ARM_ERRATA_775420
33 select ARM_ERRATA_764369 if SMP
34 + select HAVE_SMP
35
36 help
37 Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
38 --- a/arch/arm/mach-bcm/Makefile
39 +++ b/arch/arm/mach-bcm/Makefile
40 @@ -36,6 +36,9 @@ obj-$(CONFIG_ARCH_BCM2835) += board_bcm2
41
42 # BCM5301X
43 obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o
44 +ifeq ($(CONFIG_ARCH_BCM_5301X),y)
45 +obj-$(CONFIG_SMP) += headsmp.o platsmp.o
46 +endif
47
48 # BCM63XXx
49 obj-$(CONFIG_ARCH_BCM_63XX) := bcm63xx.o