Re: [PATCH v5 09/15] MIPS: platform: add machtype IDs for more Ingenic SoCs
On 2 January 2018 at 20:38, Paul Cercueilwrote: > Add a machtype ID for the JZ4780 SoC, which was missing, and one for the > newly supported JZ4770 SoC. > > Signed-off-by: Paul Cercueil > --- > arch/mips/include/asm/bootinfo.h | 2 ++ > 1 file changed, 2 insertions(+) > > v2: No change > v3: No change > v5: No change > > 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); > -- > 2.11.0 > > Reviewed-by: PrasannaKumar Muralidharan
Re: [PATCH v5 09/15] MIPS: platform: add machtype IDs for more Ingenic SoCs
On 2 January 2018 at 20:38, Paul Cercueil wrote: > Add a machtype ID for the JZ4780 SoC, which was missing, and one for the > newly supported JZ4770 SoC. > > Signed-off-by: Paul Cercueil > --- > arch/mips/include/asm/bootinfo.h | 2 ++ > 1 file changed, 2 insertions(+) > > v2: No change > v3: No change > v5: No change > > 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); > -- > 2.11.0 > > Reviewed-by: PrasannaKumar Muralidharan
[PATCH v5 09/15] 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--- arch/mips/include/asm/bootinfo.h | 2 ++ 1 file changed, 2 insertions(+) v2: No change v3: No change v5: No change 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); -- 2.11.0
[PATCH v5 09/15] 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 --- arch/mips/include/asm/bootinfo.h | 2 ++ 1 file changed, 2 insertions(+) v2: No change v3: No change v5: No change 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); -- 2.11.0