Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: platform: add machtype IDs for more Ingenic SoCs

Add a machtype ID for the JZ4780 SoC, which was missing, and one for the
newly supported JZ4770 SoC.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
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/18485/
Signed-off-by: James Hogan <jhogan@kernel.org>

authored by

Paul Cercueil and committed by
James Hogan
147b7910 e08a48d9

+2
+2
arch/mips/include/asm/bootinfo.h
··· 79 79 */ 80 80 #define MACH_INGENIC_JZ4730 0 /* JZ4730 SOC */ 81 81 #define MACH_INGENIC_JZ4740 1 /* JZ4740 SOC */ 82 + #define MACH_INGENIC_JZ4770 2 /* JZ4770 SOC */ 83 + #define MACH_INGENIC_JZ4780 3 /* JZ4780 SOC */ 82 84 83 85 extern char *system_type; 84 86 const char *get_system_type(void);