Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752349AbeAJWUM (ORCPT + 1 other); Wed, 10 Jan 2018 17:20:12 -0500 Received: from 9pmail.ess.barracuda.com ([64.235.154.210]:37488 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561AbeAJWUL (ORCPT ); Wed, 10 Jan 2018 17:20:11 -0500 Date: Wed, 10 Jan 2018 22:19:17 +0000 From: James Hogan To: Paul Cercueil CC: Ralf Baechle , Maarten ter Huurne , Paul Burton , , Subject: Re: [PATCH v6 09/15] MIPS: platform: add machtype IDs for more Ingenic SoCs Message-ID: <20180110221916.GT27409@jhogan-linux.mipstec.com> References: <20180102150848.11314-1-paul@crapouillou.net> <20180105182513.16248-1-paul@crapouillou.net> <20180105182513.16248-10-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7UIJfHqpdi+oBJdT" Content-Disposition: inline In-Reply-To: <20180105182513.16248-10-paul@crapouillou.net> User-Agent: Mutt/1.7.2 (2016-11-26) X-Originating-IP: [192.168.154.110] X-BESS-ID: 1515622768-452060-11657-230-1 X-BESS-VER: 2017.17.1-r1801090054 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.188855 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: --7UIJfHqpdi+oBJdT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Signed-off-by: Paul Cercueil > Reviewed-by: PrasannaKumar Muralidharan Reviewed-by: James Hogan Though perhaps its time for an enum. Cheers James > --- > arch/mips/include/asm/bootinfo.h | 2 ++ > 1 file changed, 2 insertions(+) >=20 > v2: No change > v3: No change > v4: No change > v5: No change > v6: No change >=20 > diff --git a/arch/mips/include/asm/bootinfo.h b/arch/mips/include/asm/boo= tinfo.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 */ > =20 > extern char *system_type; > const char *get_system_type(void); > --=20 > 2.11.0 >=20 >=20 --7UIJfHqpdi+oBJdT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd80NauSabkiESfLYbAtpk944dnoFAlpWkWQACgkQbAtpk944 dnp3xA/+PZn+7YzMkxZFonP5RKr80qfh6iHIwJlr3hXM9UVN26nihxTMM3uDj07a CN6dLh8myCEzXqSFC106RWXwfsH3zwQHyrplm/1twiNH4bfGIikJmA2MYAp6dNLr fjttmVuKuu6EkEbqqs9jE1D6uBE8btG/KDpBWXwPz1ZFhBQG7nCkmdVWjK8rxX/m GnNDhpcBfdJkN4AOqWZNVagjH0wSJUE+ZDaVpuVeJKsTofXSpXWXmbJkC9Nt+thm FQrBeGqHNIDt0RoOeLhkkgpSGjk3XlguFRRL3DkWbpW4BP7IPDxjcS6uCbzRbylC 23BlU3pCl4bQZic1JtrTza2gQWHgglK5pAZ+e1fT6sK/khVYJil1S4comTVL0VmJ EF9P1NT8StqTmnf5CJHBx1qXsGPjFfX8XAoLRxSDEm5krira8ETMEgTH0jT1MbaQ njPS/xWSb6O1VYgCPggSgH2AVBiMeOWBCzUpyPWYsJA4PlczvERKO/3pa0sjp/se dF2/VvUlgiKb5EyzGWuGI+3Q//JuMwF80g7Vt9Tg2a/Emi/yzt+9GLvCwdhlLJyT wCnkHeqXgL3i1f+vmKkJwo+dwkAN0u61Ngcoups2c37xaLs/khjavlheKqA0a05H 8FwkNf9xcqCbNATpZ3Id+UbHkSuq/aUVDWSzsJ1Pmw19tEQe5TM= =nPuA -----END PGP SIGNATURE----- --7UIJfHqpdi+oBJdT--