ar71xx: rb2011: use board name from the hardware config
[openwrt.git] / target / linux / ar71xx / patches-3.10 / 100-MIPS-ath79-don-t-hardwire-cpu_has_dsp-2-to-0.patch
1 From c9da75bfa6cd7a47f5b2a1d183d34c165a06dd1a Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Thu, 22 Aug 2013 11:15:18 +0200
4 Subject: [PATCH] MIPS: ath79: don't hardwire cpu_has_dsp{2} to 0
5
6 The ath79 code supports various SoCs which are using either a 24Kc
7 or a 74Kc core. The 74Kc core has DSP support, so don't hardwire
8 the values to zero.
9
10 Commit 00dc5ce2a653a332190aa29b2e1f3bceaa7d5b8d (MIPS: ath79: don't
11 hardcode the unavailability of the DSP ASE) has fixed this already,
12 but that change got reverted by 475032564ed96c94c085e3e7a90e07d150a7cec9
13 (MIPS: Hardwire detection of DSP ASE Rev 2 for systems, as required.)
14
15 Reported-by: Helmut Schaa <helmut.schaa@googlemail.com>
16 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
17 ---
18  arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h |    2 --
19  1 file changed, 2 deletions(-)
20
21 --- a/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
22 +++ b/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
23 @@ -42,8 +42,6 @@
24  #define cpu_has_mips64r1       0
25  #define cpu_has_mips64r2       0
26  
27 -#define cpu_has_dsp            0
28 -#define cpu_has_dsp2           0
29  #define cpu_has_mipsmt         0
30  
31  #define cpu_has_64bits         0