From: Paul Cercueil Date: Tue, 16 Jan 2018 15:47:59 +0000 (+0100) Subject: MIPS: platform: add machtype IDs for more Ingenic SoCs X-Git-Tag: for-linus-20180210~1^2~10^2~29 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=147b7910c8bdb4e702c8813bb3de4f3dc4eb4046;p=linux-block.git 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 Reviewed-by: PrasannaKumar Muralidharan Reviewed-by: James Hogan Cc: Ralf Baechle Cc: Maarten ter Huurne Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18485/ Signed-off-by: James Hogan --- diff --git a/arch/mips/include/asm/bootinfo.h b/arch/mips/include/asm/bootinfo.h index e26a093bb17a..a301a8f4bc66 100644 --- a/arch/mips/include/asm/bootinfo.h +++ b/arch/mips/include/asm/bootinfo.h @@ -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);