aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi6
-rw-r--r--target/linux/ramips/mt7621/target.mk7
2 files changed, 8 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index 6d3c782430..a50f5cca58 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -5,7 +5,11 @@
cpus {
cpu@0 {
- compatible = "mips,mips24KEc";
+ compatible = "mips,mips1004Kc";
+ };
+
+ cpu@1 {
+ compatible = "mips,mips1004Kc";
};
};
diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk
index 830b5b098d..4acf16eaae 100644
--- a/target/linux/ramips/mt7621/target.mk
+++ b/target/linux/ramips/mt7621/target.mk
@@ -4,12 +4,11 @@
SUBTARGET:=mt7621
BOARDNAME:=MT7621 based boards
-ARCH_PACKAGES:=ramips_24kec
+ARCH_PACKAGES:=ramips_1004kc
FEATURES+=usb
-CPU_TYPE:=24kec
+CPU_TYPE:=1004kc
CPU_SUBTYPE:=dsp
-
-DEFAULT_PACKAGES += kmod-rt2800-pci
+CFLAGS:=-pipe -mmt -mips32r2 -mtune=1004kc
define Target/Description
Build firmware images for Ralink MT7621 based boards.