]> git.karo-electronics.de Git - linux-beck.git/commitdiff
MIPS: ath79: Don't hardwire cpu_has_dsp{2} to 0
authorGabor Juhos <juhosg@openwrt.org>
Thu, 22 Aug 2013 09:57:14 +0000 (11:57 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Sep 2013 21:22:16 +0000 (23:22 +0200)
The ath79 code supports various SoCs which are using either a 24Kc
or a 74Kc core. The 74Kc core has DSP support, so don't hardwire
the values to zero.

Commit 00dc5ce2a653a332190aa29b2e1f3bceaa7d5b8d (MIPS: ath79: don't
hardcode the unavailability of the DSP ASE) has fixed this already,
but that change got reverted by 475032564ed96c94c085e3e7a90e07d150a7cec9
(MIPS: Hardwire detection of DSP ASE Rev 2 for systems, as required.)

Reported-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5750/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h

index ddb947e9221f13e631ddef8c4164255abdbebed8..0089a740e5aed1a17fab5c247a568f4e5100b09b 100644 (file)
@@ -42,8 +42,6 @@
 #define cpu_has_mips64r1       0
 #define cpu_has_mips64r2       0
 
-#define cpu_has_dsp            0
-#define cpu_has_dsp2           0
 #define cpu_has_mipsmt         0
 
 #define cpu_has_64bits         0