aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2016-08-21 19:23:13 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-23 11:55:32 +0200
commitb962da4d929307a834850b72e42a44c2a00ed39e (patch)
tree34d267e92a77290e7343f2f21fc2aafda36581f9
parenta11843b62ebe75b552fa428556e3820657df3239 (diff)
downloadupstream-b962da4d929307a834850b72e42a44c2a00ed39e.tar.gz
upstream-b962da4d929307a834850b72e42a44c2a00ed39e.tar.bz2
upstream-b962da4d929307a834850b72e42a44c2a00ed39e.zip
ramips: mt7621: switch to 24kc
1004kc is just a SMP capable 34kc, and GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 1004kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
-rw-r--r--include/target.mk1
-rw-r--r--target/linux/ramips/mt7621/target.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/target.mk b/include/target.mk
index ed15d04984..4b01237a4d 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -168,7 +168,6 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_mips64 = -mips64 -mtune=mips64 -mabi=64
CPU_CFLAGS_24kc = -mips32r2 -mtune=24kc
CPU_CFLAGS_74kc = -mips32r2 -mtune=74kc
- CPU_CFLAGS_1004kc = -mips32r2 -mtune=1004kc
CPU_CFLAGS_octeon = -march=octeon -mabi=64
endif
ifeq ($(ARCH),i386)
diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk
index edf26203d0..121761f45f 100644
--- a/target/linux/ramips/mt7621/target.mk
+++ b/target/linux/ramips/mt7621/target.mk
@@ -5,7 +5,7 @@
SUBTARGET:=mt7621
BOARDNAME:=MT7621 based boards
FEATURES+=usb rtc nand
-CPU_TYPE:=1004kc
+CPU_TYPE:=24kc
DEFAULT_PACKAGES += kmod-mt76