aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-12-03 20:22:42 +0000
committerJohn Crispin <john@openwrt.org>2014-12-03 20:22:42 +0000
commitd04c4a311ebe704be4b1edd509da3bd194d82557 (patch)
tree5548a1fb6933f468bdb89eaf93a953fab911b362 /target/linux/ramips
parent19a6f3dd11507759cbaf98904c48b66824f36d73 (diff)
downloadupstream-d04c4a311ebe704be4b1edd509da3bd194d82557.tar.gz
upstream-d04c4a311ebe704be4b1edd509da3bd194d82557.tar.bz2
upstream-d04c4a311ebe704be4b1edd509da3bd194d82557.zip
ralink: mt7621 is a 1004Kc
Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 43514
Diffstat (limited to 'target/linux/ramips')
-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.