lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180110221916.GT27409@jhogan-linux.mipstec.com>
Date:   Wed, 10 Jan 2018 22:19:17 +0000
From:   James Hogan <james.hogan@...s.com>
To:     Paul Cercueil <paul@...pouillou.net>
CC:     Ralf Baechle <ralf@...ux-mips.org>,
        Maarten ter Huurne <maarten@...ewalker.org>,
        Paul Burton <paul.burton@...s.com>,
        <linux-kernel@...r.kernel.org>, <linux-mips@...ux-mips.org>
Subject: Re: [PATCH v6 09/15] MIPS: platform: add machtype IDs for more
 Ingenic SoCs

On Fri, Jan 05, 2018 at 07:25:07PM +0100, 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 <paul@...pouillou.net>
> Reviewed-by: PrasannaKumar Muralidharan <prasannatsmkumar@...il.com>

Reviewed-by: James Hogan <jhogan@...nel.org>

Though perhaps its time for an enum.

Cheers
James

> ---
>  arch/mips/include/asm/bootinfo.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
>  v2: No change
>  v3: No change
>  v4: No change
>  v5: No change
>  v6: 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
> 
> 

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ