]> git.baikalelectronics.ru Git - kernel.git/commitdiff
MIPS: platform: add machtype IDs for more Ingenic SoCs
authorPaul Cercueil <paul@crapouillou.net>
Tue, 16 Jan 2018 15:47:59 +0000 (16:47 +0100)
committerJames Hogan <jhogan@kernel.org>
Thu, 18 Jan 2018 22:07:16 +0000 (22:07 +0000)
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>
arch/mips/include/asm/bootinfo.h

index e26a093bb17a2e34e2079f1e5cda21a66052e843..a301a8f4bc6683b502165f5236fe6bd3dbdd7980 100644 (file)
@@ -79,6 +79,8 @@ enum loongson_machine_type {
  */
 #define  MACH_INGENIC_JZ4730   0       /* JZ4730 SOC           */
 #define  MACH_INGENIC_JZ4740   1       /* JZ4740 SOC           */
+#define  MACH_INGENIC_JZ4770   2       /* JZ4770 SOC           */
+#define  MACH_INGENIC_JZ4780   3       /* JZ4780 SOC           */
 
 extern char *system_type;
 const char *get_system_type(void);