brcm63xx: add preliminary support for 3.13
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.13 / 316-MIPS-BCM63XX-remove-RUNTIME_DETECT-in-cpu-feature-ov.patch
1 From 12c6957004d6770f4b34d59d8a3cafd5d8bfce15 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Tue, 3 Dec 2013 14:06:12 +0100
4 Subject: [PATCH 7/8] MIPS: BCM63XX: remove !RUNTIME_DETECT in
5 cpu-feature-overrides
6
7 All three SoCs have in common they have a BMIPS32/BMIPS3300 CPU, so
8 we can replace this as no SoC with BMIPS4350 support enabled.
9 ---
10 arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 --- a/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h
14 +++ b/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h
15 @@ -24,7 +24,7 @@
16 #define cpu_has_smartmips 0
17 #define cpu_has_vtag_icache 0
18
19 -#if !defined(BCMCPU_RUNTIME_DETECT) && (defined(CONFIG_BCM63XX_CPU_6348) || defined(CONFIG_BCM63XX_CPU_6345) || defined(CONFIG_BCM63XX_CPU_6338))
20 +#if !defined(CONFIG_SYS_HAS_CPU_BMIPS4350)
21 #define cpu_has_dc_aliases 0
22 #endif
23