summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-07-04 15:20:05 +0200
committerJohn Crispin <john@phrozen.org>2016-07-05 22:59:13 +0200
commit69a626b4419d58b319e5080ca4aab397b58d5dce (patch)
tree59a86343377c8a3d67e64e70847a5853a02d1a62 /target/linux/ramips
parent34527688fcece24641b5ca0bb472c5359df371af (diff)
downloadmaster-31e0f0ae-69a626b4419d58b319e5080ca4aab397b58d5dce.tar.gz
master-31e0f0ae-69a626b4419d58b319e5080ca4aab397b58d5dce.tar.bz2
master-31e0f0ae-69a626b4419d58b319e5080ca4aab397b58d5dce.zip
ramips: fix mt7621 SoC detection
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/patches-4.4/0105-set_mt7621_soc_type.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-4.4/0105-set_mt7621_soc_type.patch b/target/linux/ramips/patches-4.4/0105-set_mt7621_soc_type.patch
new file mode 100644
index 0000000000..0ffe82545e
--- /dev/null
+++ b/target/linux/ramips/patches-4.4/0105-set_mt7621_soc_type.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/ralink/mt7621.c
++++ b/arch/mips/ralink/mt7621.c
+@@ -180,7 +180,7 @@
+ } else {
+ panic("mt7621: unknown SoC, n0:%08x n1:%08x\n", n0, n1);
+ }
+-
++ ralink_soc = MT762X_SOC_MT7621AT;
+ rev = __raw_readl(sysc + SYSC_REG_CHIP_REV);
+
+ snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,