]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: ingenic: Detect machtype from SoC compatible string
authorPaul Cercueil <paul@crapouillou.net>
Tue, 16 Jan 2018 15:48:00 +0000 (16:48 +0100)
committerJames Hogan <jhogan@kernel.org>
Thu, 18 Jan 2018 22:07:24 +0000 (22:07 +0000)
commitce0d60f731f0011a3e0b6e7d17a01f229313d2a0
treecff911ab90d5c46625b0617db5c06e8e2f5355a1
parent147b7910c8bdb4e702c8813bb3de4f3dc4eb4046
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: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: James 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: James Hogan <jhogan@kernel.org>
arch/mips/jz4740/prom.c
arch/mips/jz4740/setup.c