Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5079788pxj; Wed, 9 Jun 2021 08:42:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznOLhW53q7vhzVS6RpekdOat11BJK/azCrPvebWHR8hjNaKxPUS7WE2cYn4f5CGBgCiwLq X-Received: by 2002:aa7:dc51:: with SMTP id g17mr65506edu.43.1623253328998; Wed, 09 Jun 2021 08:42:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623253328; cv=none; d=google.com; s=arc-20160816; b=ms93GkPUcx3jzD/WwSlV1IEVyfWoP5AofQ6QcjGGZ/9JynSQgy7GDB1sN0Y8H/dmJr jMr2qncQsupT/isVPP4AJq1Ag6/e4aIZ+M3WdK4/Yf3uuw6c1dx18Tnrry4kP3/DvuPx Nlwo/PSxFJcFXnXRJ3HkJHF29PLkJgjKc6Wl+YxRTSp/Miqln2LC+eZBYE76ltZWsJwM giAaAEs1xegTiaWJn5XHckbRZZgCi+kMjH+gTvMR30JeM6drauu/BbO6eGaq00QKmZUN L2SZPwP2oPFnsoZhPr3cNiXDhu0aST9R3FdF29fFl80tIx6l3+FQkXpklKl7Q+VTw6b8 +B6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=zV3VZ4YOASefAdKhPByngIOqwleUDUA6BN4OYuClyYM=; b=Yrss5e6RY0Ql9S9QqOXZHKGrdXJ71DTA0/Fj2XQsnYamO4hVacmr2tLHY3zJdtHf0g U0qBlD23lli3c+WR+PgcpjYQjCVeHTVFG3gpxzCUjOD+R3ggKbSxR/TcUgnttc8itUmw AdfLBFPHw7HSOBqcWcRVPx/T9UXr19hi3aBndWixbXrspLr1lzE/j+7XOAwxHMSdBHTC 8z7M21235aEgZJoxGwFAtlN+GaaLh4sfuquu4I/4LBUwi0B9KgsUYUpQgMcgXcnKZaIk ya9gOrd16L+E0i9X+MODOLTMNpY8cAJfzBw+8BCgYcvNnq5y+4qCwYkGV/axDfax94dv HTYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bvWl3x8M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y3si137365ejk.208.2021.06.09.08.41.45; Wed, 09 Jun 2021 08:42:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bvWl3x8M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235855AbhFIOb2 (ORCPT + 99 others); Wed, 9 Jun 2021 10:31:28 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:37488 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236283AbhFIObZ (ORCPT ); Wed, 9 Jun 2021 10:31:25 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 159ETPaB020794; Wed, 9 Jun 2021 09:29:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623248966; bh=zV3VZ4YOASefAdKhPByngIOqwleUDUA6BN4OYuClyYM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=bvWl3x8MVaXaXUNtYbKCjKDQwIEk6H1bZM3XrrcGxpXcYBIJpn4NPZ7C+UzYeBMra gnVxdNb2BE3vQ8c8NFZSSQsU9lsJHLo2aOuA4bpQnICKQ4uCZkk5XCUneMylc0PwRT RW40YRHR/NQblfwDoof8zzaFZFBVUatgwiIzPK+8= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 159ETPB0113075 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Jun 2021 09:29:25 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 9 Jun 2021 09:29:22 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE113.ent.ti.com (10.64.6.34) 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; Wed, 9 Jun 2021 09:29:22 -0500 Received: from [10.24.69.20] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 159ETFu2012709; Wed, 9 Jun 2021 09:29:17 -0500 Subject: Re: [PATCH v2] arm64: dts: ti: k3-am64-main: Update the location of ATF in SRAM and increase its max size To: Aswath Govindraju CC: Vignesh Raghavendra , Suman Anna , Kishon Vijay Abraham I , Nishanth Menon , Tero Kristo , Rob Herring , , , References: <20210607133806.18158-1-a-govindraju@ti.com> From: Lokesh Vutla Message-ID: Date: Wed, 9 Jun 2021 19:59:14 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210607133806.18158-1-a-govindraju@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/06/21 7:08 pm, 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 > --- > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > index ca59d1f711f8..fcd12b6f10f6 100644 > --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > @@ -13,8 +13,8 @@ > #size-cells = <1>; > ranges = <0x0 0x00 0x70000000 0x200000>; > > - atf-sram@0 { > - reg = <0x0 0x1a000>; > + atf-sram@1a0000 { > + reg = <0x1a0000 0x1c000>; After thinking a bot more, isn't size be 0x20000? ATF is allocated with 125KB no? no point keeping the ~3 as hole IMO. Thanks and regards, Lokesh > }; > }; > >