Commit 4f79ddec authored by John Crispin's avatar John Crispin Committed by Ralf Baechle

MIPS: ralink: MT7621 does not set its SoC type.

The code does not set the SoC type properly. This went unnoticed until now
as the SoC does not share any of the driver code with the other SoCs, until
we made the mmc driver work.
Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14896/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent ef462f3b
...@@ -181,7 +181,7 @@ void prom_soc_init(struct ralink_soc_info *soc_info) ...@@ -181,7 +181,7 @@ void prom_soc_init(struct ralink_soc_info *soc_info)
} else { } else {
panic("mt7621: unknown SoC, n0:%08x n1:%08x\n", n0, n1); panic("mt7621: unknown SoC, n0:%08x n1:%08x\n", n0, n1);
} }
ralink_soc = MT762X_SOC_MT7621AT;
rev = __raw_readl(sysc + SYSC_REG_CHIP_REV); rev = __raw_readl(sysc + SYSC_REG_CHIP_REV);
snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN, snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment