diff options
| author | Paul Cercueil <paul@crapouillou.net> | 2018-01-16 10:47:59 -0500 |
|---|---|---|
| committer | James Hogan <jhogan@kernel.org> | 2018-01-18 17:07:16 -0500 |
| commit | 147b7910c8bdb4e702c8813bb3de4f3dc4eb4046 (patch) | |
| tree | 717c77810bcba1235cd76ffab7aeb91af7070f89 /arch/mips/include | |
| parent | e08a48d9250184d8ce6dc6c728b2ca68d7f40f35 (diff) | |
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>
Diffstat (limited to 'arch/mips/include')
| -rw-r--r-- | arch/mips/include/asm/bootinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
| 79 | */ | 79 | */ |
| 80 | #define MACH_INGENIC_JZ4730 0 /* JZ4730 SOC */ | 80 | #define MACH_INGENIC_JZ4730 0 /* JZ4730 SOC */ |
| 81 | #define MACH_INGENIC_JZ4740 1 /* JZ4740 SOC */ | 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 | extern char *system_type; | 85 | extern char *system_type; |
| 84 | const char *get_system_type(void); | 86 | const char *get_system_type(void); |
