diff options
author | John Crispin <john@phrozen.org> | 2016-07-04 15:20:05 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-07-05 22:59:13 +0200 |
commit | 69a626b4419d58b319e5080ca4aab397b58d5dce (patch) | |
tree | 59a86343377c8a3d67e64e70847a5853a02d1a62 | |
parent | 34527688fcece24641b5ca0bb472c5359df371af (diff) | |
download | mtk-20170518-69a626b4419d58b319e5080ca4aab397b58d5dce.zip mtk-20170518-69a626b4419d58b319e5080ca4aab397b58d5dce.tar.gz mtk-20170518-69a626b4419d58b319e5080ca4aab397b58d5dce.tar.bz2 |
ramips: fix mt7621 SoC detection
Signed-off-by: John Crispin <john@phrozen.org>
-rw-r--r-- | target/linux/ramips/patches-4.4/0105-set_mt7621_soc_type.patch | 11 |
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 0000000..0ffe825 --- /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, |