From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-22.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85BD5C47094 for ; Mon, 7 Jun 2021 13:28:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6A81B60FE4 for ; Mon, 7 Jun 2021 13:28:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230269AbhFGNaf (ORCPT ); Mon, 7 Jun 2021 09:30:35 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:57686 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230127AbhFGNad (ORCPT ); Mon, 7 Jun 2021 09:30:33 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 157DSWtf099640; Mon, 7 Jun 2021 08:28:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623072512; bh=CaZqYj5EZxPTj7DhtzGVu+Dqfzm+eEXQgihsaOxDftE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=Mr1tUqpqvzSJ3tj4ZT22EqDYfKFWKXoaH8KfgXHoB9jcu3PLSygfzjXn24Sd1LZfL L7pXE6bVKoqw09xf6TzfobAhJ2R1PvGd/zJh1IMi5sWE8ZSAswGxVwSIhoMQ4bJp8j mXcAwl+FhNwEPgKnTFc7rf85KzG4ffkKsFhH2eII= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 157DSW57108560 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Jun 2021 08:28:32 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 7 Jun 2021 08:28:31 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 7 Jun 2021 08:28:31 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 157DSVow115781; Mon, 7 Jun 2021 08:28:31 -0500 Date: Mon, 7 Jun 2021 08:28:31 -0500 From: Nishanth Menon To: Aswath Govindraju CC: Lokesh Vutla , Vignesh Raghavendra , Suman Anna , Kishon Vijay Abraham I , Tero Kristo , Rob Herring , , , Subject: Re: [PATCH] arm64: dts: ti: k3-am64-main: Update the location of ATF in SRAM and increase its max size Message-ID: <20210607132831.byouctbdr62hqbpi@sneeze> References: <20210604164308.16693-1-a-govindraju@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210604164308.16693-1-a-govindraju@ti.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22:13-20210604, Aswath Govindraju wrote: > Due to a limitation for USB DFU boot mode, SPL load address has to be less > than or equal to 0x70001000. So, load address of SPL and ATF have been > moved to 0x70000000 and 0x701a0000 respectively. > > Also, the maximum size of ATF has been increased to 0x1c000 [1]. > > Therefore, update ATF's location and maximum size accordingly in the device > tree file. > > [1] - https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=2fb5312f61a7de8b7a70e1639199c4f14a10b6f9 > > Signed-off-by: Aswath Govindraju > --- > > Link to corresponding U-Boot series that makes the ATF load address update, > - https://patchwork.ozlabs.org/project/uboot/list/?series=247265 > > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > index ca59d1f711f8..7ae28992097f 100644 > --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > @@ -14,7 +14,7 @@ > ranges = <0x0 0x00 0x70000000 0x200000>; > > atf-sram@0 { @0 should be @1a0000 ? > - reg = <0x0 0x1a000>; > + reg = <0x1a0000 0x1c000>; > }; > }; > > -- > 2.17.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F841C47082 for ; Mon, 7 Jun 2021 13:31:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 60B9761153 for ; Mon, 7 Jun 2021 13:31:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 60B9761153 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LsYy0NULdHZAewXeDtcZ0+xpKXee3lBjImx3Rk9OabQ=; b=M2MfKoyWyoM3tF ZEMiYzvXgRxLJrkTl8vnfC3Rcm8BVPGlsphyvby2BSAYuQJ/6dhiU+pYwR7NVmp792xCBn5UIU2gL XRfSIRQ/xnncFXZxsr7Fv5izVi6aP9xy+qohN0v+0IdmFtxuSs2r1eCkBF6nGHX4sn3sSadquDKBF itEMA7SiN9U6U6t2IexY+Mdx0CiT0iz5Gg2IGymXVLN+fuxA+xV+9Yr9GT+jvam4bP2oHlNKvNB5Q MC+/gb93Gsxkk+Bf8rzcMTqb6FZy6GB7YqoE1XljsVOaMmsb996UsNPOr3YPIwikQMAl1MPENFDaZ MXLwG/2322vpzd2U9LzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqFJE-003nHM-7K; Mon, 07 Jun 2021 13:28:53 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqFIz-003nDG-N2 for linux-arm-kernel@lists.infradead.org; Mon, 07 Jun 2021 13:28:42 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 157DSWtf099640; Mon, 7 Jun 2021 08:28:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623072512; bh=CaZqYj5EZxPTj7DhtzGVu+Dqfzm+eEXQgihsaOxDftE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=Mr1tUqpqvzSJ3tj4ZT22EqDYfKFWKXoaH8KfgXHoB9jcu3PLSygfzjXn24Sd1LZfL L7pXE6bVKoqw09xf6TzfobAhJ2R1PvGd/zJh1IMi5sWE8ZSAswGxVwSIhoMQ4bJp8j mXcAwl+FhNwEPgKnTFc7rf85KzG4ffkKsFhH2eII= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 157DSW57108560 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Jun 2021 08:28:32 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 7 Jun 2021 08:28:31 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 7 Jun 2021 08:28:31 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 157DSVow115781; Mon, 7 Jun 2021 08:28:31 -0500 Date: Mon, 7 Jun 2021 08:28:31 -0500 From: Nishanth Menon To: Aswath Govindraju CC: Lokesh Vutla , Vignesh Raghavendra , Suman Anna , Kishon Vijay Abraham I , Tero Kristo , Rob Herring , , , Subject: Re: [PATCH] arm64: dts: ti: k3-am64-main: Update the location of ATF in SRAM and increase its max size Message-ID: <20210607132831.byouctbdr62hqbpi@sneeze> References: <20210604164308.16693-1-a-govindraju@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210604164308.16693-1-a-govindraju@ti.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210607_062837_960101_77536030 X-CRM114-Status: GOOD ( 17.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 22:13-20210604, Aswath Govindraju wrote: > Due to a limitation for USB DFU boot mode, SPL load address has to be less > than or equal to 0x70001000. So, load address of SPL and ATF have been > moved to 0x70000000 and 0x701a0000 respectively. > > Also, the maximum size of ATF has been increased to 0x1c000 [1]. > > Therefore, update ATF's location and maximum size accordingly in the device > tree file. > > [1] - https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=2fb5312f61a7de8b7a70e1639199c4f14a10b6f9 > > Signed-off-by: Aswath Govindraju > --- > > Link to corresponding U-Boot series that makes the ATF load address update, > - https://patchwork.ozlabs.org/project/uboot/list/?series=247265 > > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > index ca59d1f711f8..7ae28992097f 100644 > --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > @@ -14,7 +14,7 @@ > ranges = <0x0 0x00 0x70000000 0x200000>; > > atf-sram@0 { @0 should be @1a0000 ? > - reg = <0x0 0x1a000>; > + reg = <0x1a0000 0x1c000>; > }; > }; > > -- > 2.17.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel