diff --git a/target/linux/ath79/Makefile b/target/linux/ath79/Makefile index 7b639002b71ce7..0f25f7d4e754d6 100644 --- a/target/linux/ath79/Makefile +++ b/target/linux/ath79/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk ARCH:=mips BOARD:=ath79 BOARDNAME:=Atheros ATH79 -CPU_TYPE:=24kc +CPU_TYPE:=74kc SUBTARGETS:=generic mikrotik nand tiny FEATURES:=ramdisk squashfs usb diff --git a/target/linux/generic/pending-6.1/308-mips32r2_tune.patch b/target/linux/generic/pending-6.1/308-mips32r2_tune.patch index 91abe6ccd79df6..60dfca23ab3fce 100644 --- a/target/linux/generic/pending-6.1/308-mips32r2_tune.patch +++ b/target/linux/generic/pending-6.1/308-mips32r2_tune.patch @@ -16,7 +16,7 @@ Signed-off-by: Felix Fietkau cflags-$(CONFIG_CPU_TX49XX) += -march=r4600 -Wa,--trap cflags-$(CONFIG_CPU_MIPS32_R1) += -march=mips32 -Wa,--trap -cflags-$(CONFIG_CPU_MIPS32_R2) += -march=mips32r2 -Wa,--trap -+cflags-$(CONFIG_CPU_MIPS32_R2) += -march=mips32r2 -mtune=24kc -Wa,--trap ++cflags-$(CONFIG_CPU_MIPS32_R2) += -march=mips32r2 -mtune=74kc -Wa,--trap cflags-$(CONFIG_CPU_MIPS32_R5) += -march=mips32r5 -Wa,--trap -modd-spreg cflags-$(CONFIG_CPU_MIPS32_R6) += -march=mips32r6 -Wa,--trap -modd-spreg cflags-$(CONFIG_CPU_MIPS64_R1) += -march=mips64 -Wa,--trap