bcm53xx: activate workarounds for erratas
[openwrt/svn-archive/archive.git] / target / linux / bcm53xx / patches-4.1 / 020-ARM-BCM5310X-activate-erratas-needed-for-SoC.patch
1 From f4ce7effe2253a325f8ba182903cbdf0d8698593 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sat, 21 Nov 2015 15:29:47 +0100
4 Subject: [PATCH] ARM: BCM5310X: activate erratas needed for SoC
5
6 The BCM4708 I have, which is probably the first generation which got
7 to the consumer market, is using a ARM Cortex-A9 rev r3p0 and a
8 L2C-310 rev r3p2 L2 cache controller. There are 3 workarounds for known
9 erratas in the Linux kernel which could be activated and will be in
10 this patch. There are currently no workarounds which have to be
11 activated for the L2C-310 rev r3p2 in Linux.
12
13 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
15 ---
16 arch/arm/mach-bcm/Kconfig | 4 ++++
17 1 file changed, 4 insertions(+)
18
19 --- a/arch/arm/mach-bcm/Kconfig
20 +++ b/arch/arm/mach-bcm/Kconfig
21 @@ -38,6 +38,10 @@ config ARCH_BCM_CYGNUS
22 config ARCH_BCM_5301X
23 bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7
24 select ARCH_BCM_IPROC
25 + select ARM_ERRATA_754322
26 + select ARM_ERRATA_775420
27 + select ARM_ERRATA_764369 if SMP
28 +
29 help
30 Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
31