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>
This commit is contained in:
Jonas Gorski 2016-08-21 19:23:13 +02:00 committed by Felix Fietkau
parent a11843b62e
commit b962da4d92
2 changed files with 1 additions and 2 deletions

View file

@ -168,7 +168,6 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_mips64 = -mips64 -mtune=mips64 -mabi=64 CPU_CFLAGS_mips64 = -mips64 -mtune=mips64 -mabi=64
CPU_CFLAGS_24kc = -mips32r2 -mtune=24kc CPU_CFLAGS_24kc = -mips32r2 -mtune=24kc
CPU_CFLAGS_74kc = -mips32r2 -mtune=74kc CPU_CFLAGS_74kc = -mips32r2 -mtune=74kc
CPU_CFLAGS_1004kc = -mips32r2 -mtune=1004kc
CPU_CFLAGS_octeon = -march=octeon -mabi=64 CPU_CFLAGS_octeon = -march=octeon -mabi=64
endif endif
ifeq ($(ARCH),i386) ifeq ($(ARCH),i386)

View file

@ -5,7 +5,7 @@
SUBTARGET:=mt7621 SUBTARGET:=mt7621
BOARDNAME:=MT7621 based boards BOARDNAME:=MT7621 based boards
FEATURES+=usb rtc nand FEATURES+=usb rtc nand
CPU_TYPE:=1004kc CPU_TYPE:=24kc
DEFAULT_PACKAGES += kmod-mt76 DEFAULT_PACKAGES += kmod-mt76