From: John Crispin Date: Wed, 3 Dec 2014 20:22:42 +0000 (+0000) Subject: ralink: mt7621 is a 1004Kc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d04c4a311ebe704be4b1edd509da3bd194d82557;p=openwrt%2Fstaging%2Flinusw.git ralink: mt7621 is a 1004Kc Signed-off-by: L. D. Pinney SVN-Revision: 43514 --- 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.