summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-07-20 09:40:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-07-20 09:40:32 +0000
commit2d8fd8b58cca22d63d7b45714657e13a3cf587c4 (patch)
treee54bfae75a18c5c598b0d89eb995e03a95a0ac30 /target
parent8a6575cf537f3e47b25fe8a5d1dd90a16ac9019c (diff)
downloadmtk-20170518-2d8fd8b58cca22d63d7b45714657e13a3cf587c4.zip
mtk-20170518-2d8fd8b58cca22d63d7b45714657e13a3cf587c4.tar.gz
mtk-20170518-2d8fd8b58cca22d63d7b45714657e13a3cf587c4.tar.bz2
ar71xx: override cpu_has_mmips feature
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37477
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/patches-3.10/220-add_cpu_feature_overrides.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ar71xx/patches-3.10/220-add_cpu_feature_overrides.patch b/target/linux/ar71xx/patches-3.10/220-add_cpu_feature_overrides.patch
index 05406f2..8939cb9 100644
--- a/target/linux/ar71xx/patches-3.10/220-add_cpu_feature_overrides.patch
+++ b/target/linux/ar71xx/patches-3.10/220-add_cpu_feature_overrides.patch
@@ -1,14 +1,15 @@
--- a/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
+++ b/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
-@@ -36,6 +36,7 @@
+@@ -36,6 +36,8 @@
#define cpu_has_mdmx 0
#define cpu_has_mips3d 0
#define cpu_has_smartmips 0
+#define cpu_has_rixi 0
++#define cpu_has_mmips 0
#define cpu_has_mips32r1 1
#define cpu_has_mips32r2 1
-@@ -45,6 +46,7 @@
+@@ -45,6 +47,7 @@
#define cpu_has_dsp 0
#define cpu_has_dsp2 0
#define cpu_has_mipsmt 0
@@ -16,7 +17,7 @@
#define cpu_has_64bits 0
#define cpu_has_64bit_zero_reg 0
-@@ -53,5 +55,9 @@
+@@ -53,5 +56,9 @@
#define cpu_dcache_line_size() 32
#define cpu_icache_line_size() 32