[source] ramips: fix mt7621 SoC detection
LEDE Commits
lede-commits at lists.infradead.org
Tue Jul 5 23:56:30 PDT 2016
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=69a626b4419d58b319e5080ca4aab397b58d5dce
commit 69a626b4419d58b319e5080ca4aab397b58d5dce
Author: John Crispin <john at phrozen.org>
AuthorDate: Mon Jul 4 15:20:05 2016 +0200
ramips: fix mt7621 SoC detection
Signed-off-by: John Crispin <john at phrozen.org>
---
.../linux/ramips/patches-4.4/0105-set_mt7621_soc_type.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
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,
More information about the lede-commits
mailing list