Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55F5FC77B75 for ; Tue, 9 May 2023 04:10:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E42FC84725; Tue, 9 May 2023 06:10:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="RX6TLa+P"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 773638479B; Tue, 9 May 2023 06:10:48 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7B6C2842D0 for ; Tue, 9 May 2023 06:10:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=vigneshr@ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3494AdnW127958; Mon, 8 May 2023 23:10:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683605439; bh=SsyEaYZv/iuLqHgZbBrPInOOeVFtuemEG5/EcqaleOk=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=RX6TLa+PH4SMoVamZlMXxYYa0se6/SUaq65NI1pilJ0kEVFzlLQWIgZmoZrfCOjUL zC/F1nLZyYI3JiMLFCfcy+ITuhy4JwcmxNFbs5OEvDv92u754Xb4TqHcISiulvd7A2 n9M3rhGoMyEoAG9IzSKZdgSYfsv+5fUvdRIGLBGQ= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3494AdMp040730 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 May 2023 23:10:39 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 8 May 2023 23:10:39 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 8 May 2023 23:10:39 -0500 Received: from [172.24.145.182] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3494AZWk119773; Mon, 8 May 2023 23:10:36 -0500 Message-ID: <02ff988c-a0f3-0856-29fb-9b084f39d5da@ti.com> Date: Tue, 9 May 2023 09:40:35 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 08/10] soc: ti: k3-socinfo: Add entry for J784S4 SoC Content-Language: en-US To: Hari Nagalla , CC: , , , , , , References: <20230321141028.24456-1-hnagalla@ti.com> <20230321141028.24456-9-hnagalla@ti.com> From: Vignesh Raghavendra In-Reply-To: <20230321141028.24456-9-hnagalla@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 21/03/23 19:40, Hari Nagalla wrote: > Add support for J784S4 SoC Identification. > > Signed-off-by: Hari Nagalla > --- > drivers/soc/soc_ti_k3.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c > index 8af0ac7051..caf8db9574 100644 > --- a/drivers/soc/soc_ti_k3.c > +++ b/drivers/soc/soc_ti_k3.c > @@ -17,6 +17,7 @@ > #define J721S2 0xbb75 > #define AM62X 0xbb7e > #define AM62AX 0xbb8d > +#define J784S4 0xbb80 > > #define JTAG_ID_VARIANT_SHIFT 28 > #define JTAG_ID_VARIANT_MASK (0xf << 28) > @@ -54,9 +55,14 @@ static const char *get_family_string(u32 idreg) > case AM62X: > family = "AM62X"; > break; > + > case AM62AX: > family = "AM62AX"; > + You are missing a break here. This will render AM62Ax unbootable as we end up returning family as J784S4 > + case J784S4: > + family = "J784S4"; > break; > + > default: > family = "Unknown Silicon"; > }; -- Regards Vignesh