diff options
author | John Crispin <john@phrozen.org> | 2017-02-13 12:38:27 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-02-14 12:17:52 +0100 |
commit | 9c2422709075196022fcbc2d0f5f83e01d02b951 (patch) | |
tree | 4f18a4dd9d22fcbe10c0365596dd133cf28383be /target/linux/ramips/patches-4.9/0105-set_mt7621_soc_type.patch | |
parent | d5221d5a419c14456bccba9f6825567839082fb0 (diff) | |
download | mtk-20170518-9c2422709075196022fcbc2d0f5f83e01d02b951.zip mtk-20170518-9c2422709075196022fcbc2d0f5f83e01d02b951.tar.gz mtk-20170518-9c2422709075196022fcbc2d0f5f83e01d02b951.tar.bz2 |
ramips: add v4.9 support
NAND support is missing
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ramips/patches-4.9/0105-set_mt7621_soc_type.patch')
-rw-r--r-- | target/linux/ramips/patches-4.9/0105-set_mt7621_soc_type.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-4.9/0105-set_mt7621_soc_type.patch b/target/linux/ramips/patches-4.9/0105-set_mt7621_soc_type.patch new file mode 100644 index 0000000..68c56fa --- /dev/null +++ b/target/linux/ramips/patches-4.9/0105-set_mt7621_soc_type.patch @@ -0,0 +1,11 @@ +--- a/arch/mips/ralink/mt7621.c ++++ b/arch/mips/ralink/mt7621.c +@@ -181,7 +181,7 @@ void prom_soc_init(struct ralink_soc_inf + } 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, |