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 215EFC197A0 for ; Thu, 16 Nov 2023 06:14:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E8C4687438; Thu, 16 Nov 2023 07:14:00 +0100 (CET) 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="UrB7T+RA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 429088718E; Thu, 16 Nov 2023 07:13:59 +0100 (CET) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 8EEE687445 for ; Thu, 16 Nov 2023 07:13:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=n-francis@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AG6DrVC050873; Thu, 16 Nov 2023 00:13:53 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700115233; bh=ad3/tYjp/JOVvcAoLMcFP5Bx6woRjE4PFqcq4RqvqpA=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=UrB7T+RAF6b1k5DwusQQBgVQ+uV3OzAF7njlo5akCuhOniM0je5eyHihA8gpqwVem OomEcBTEijsR8kdeqMiA7KnNYC7sUBO/MziUdiQqVU11sqDk25n7Iyc8JftZ9R2uph j3MMptJX63vwalJTExy6Ix7yw3aiI5FBFytkAabU= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AG6DrEs004264 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 16 Nov 2023 00:13:53 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 16 Nov 2023 00:13:53 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE110.ent.ti.com (157.170.170.21) 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; Thu, 16 Nov 2023 00:13:53 -0600 Received: from [172.24.227.36] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AG6Dono099442; Thu, 16 Nov 2023 00:13:51 -0600 Message-ID: <726d44fe-bd81-4409-a9b2-776eea34fd67@ti.com> Date: Thu, 16 Nov 2023 11:43:50 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 10/10] board: ti: j721e: Enable ESM initialization for J7200 To: Tom Rini , "Kumar, Udit" CC: Keerthy , , References: <20231003081038.24299-1-j-keerthy@ti.com> <20231003081038.24299-11-j-keerthy@ti.com> <838b07a0-8490-c05b-b08f-3ab6d3e1737a@ti.com> <20231003151033.GD8465@bill-the-cat> Content-Language: en-US From: Neha Malcom Francis In-Reply-To: <20231003151033.GD8465@bill-the-cat> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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 Hi Tom, Trying to bring back this series here. On 03/10/23 20:40, Tom Rini wrote: > On Tue, Oct 03, 2023 at 07:57:04PM +0530, Kumar, Udit wrote: >> >> On 10/3/2023 1:40 PM, Keerthy wrote: >>> Enable ESM initialization for J7200 >>> >>> Signed-off-by: Keerthy >>> --- >>> board/ti/j721e/evm.c | 6 ++++-- >>> 1 file changed, 4 insertions(+), 2 deletions(-) >>> >>> diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c >>> index 42fa94b7a5..070b28326f 100644 >>> --- a/board/ti/j721e/evm.c >>> +++ b/board/ti/j721e/evm.c >>> @@ -543,7 +543,8 @@ void spl_board_init(void) >>> } >>> #ifdef CONFIG_ESM_K3 >>> - if (board_ti_k3_is("J721EX-PM2-SOM")) { >>> + if ((board_ti_k3_is("J721EX-PM2-SOM")) || >>> + IS_ENABLED(CONFIG_TARGET_J7200_R5_EVM)) { >> >> >> Could we align on one kind of check,  For J721E check is done against >> board-id, whereas for J7200 checking > > We should look at figuring out how to split this file in two. One for > "generic J721E systems" and one for "TI EVMs", as I've mentioned in > other threads, so that it's easier for custom platforms to drop code > they don' require. > Yes that does make sense. Would it be okay if we solve that problem separately in a different patch series? We can move along with this current series for now (after making the required change in CONFIG/board-id for v2) since ESM support is important for these platforms. -- Thanking You Neha Malcom Francis