MIPS: ingenic: Detect machtype from SoC compatible string
Previously, the mips_machtype variable was always initialized to MACH_INGENIC_JZ4740 even if running on different SoCs. Signed-off-by: NPaul Cercueil <paul@crapouillou.net> Reviewed-by: NJames Hogan <jhogan@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Maarten ter Huurne <maarten@treewalker.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18486/Signed-off-by: NJames Hogan <jhogan@kernel.org>
Showing
想要评论请 注册 或 登录