[PATCH v3 4/4] MIPS: ath79: don't override CPU ASE features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The ath79 platform covers various SoCs which are based on
the 24Kc and 74Kc cores. Currently various ASEs are disabled
explicitely by the cpu-feature-overrides header, even those
which are present in the 74Kc core.

The kernel is able to detect the available ASEs, so remove
the overrides.

Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx>
---
 arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h b/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
index 4476fa0..edbf23e 100644
--- a/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
+++ b/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
@@ -32,19 +32,11 @@
 #define cpu_has_ejtag		1
 #define cpu_has_llsc		1
 
-#define cpu_has_mips16		1
-#define cpu_has_mdmx		0
-#define cpu_has_mips3d		0
-#define cpu_has_smartmips	0
-
 #define cpu_has_mips32r1	1
 #define cpu_has_mips32r2	1
 #define cpu_has_mips64r1	0
 #define cpu_has_mips64r2	0
 
-#define cpu_has_dsp		0
-#define cpu_has_mipsmt		0
-
 #define cpu_has_64bits		0
 #define cpu_has_64bit_zero_reg	0
 #define cpu_has_64bit_gp_regs	0
-- 
1.7.10




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux