Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp268000pxj; Wed, 16 Jun 2021 01:46:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEy1DxoDoeslnzjYAmP70DyQ/NYnC72ERh4RZU/wiCUxPAlwpOV8rhuVyTPDElq5ZRIyE/ X-Received: by 2002:a17:906:b2d6:: with SMTP id cf22mr4154005ejb.29.1623833211973; Wed, 16 Jun 2021 01:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623833211; cv=none; d=google.com; s=arc-20160816; b=Zzn3SvLIFovdU+0sGPWFC5+gN9Q4dbcs8pT5euYdjKVoTlKhxoDphI8gORoeBWO1Qa 4IESSwFE3zNjweEynOl8IBRcT+rGqBGGBIZlpuLRBoF+b1mcv3J0Tna5Y9W2yTDymDCY q/WxtCL4emd47NawMOhI36oVJgZ3d+TezudkDxCi2DiSQbtbdpNTHa4qUcqUutZ4v7IV 28Em8f+DP6H1KdDfD79zW81NjNZm8DLLmOsIpEtLPfCKO2ExLikJysGobYkrjAPDdzS1 cFz8sSArWNB6py4NM0huUCFlDktl57g8tAkrrVSqgOlPbIGkeNgxCIGiXLSJSIqkUpQw Ui+w== 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=drAzmKnTkRfUXqRP7+mn9JKkLyutK7LL/KIHYfgEfU0=; b=nHMkdtRtjr55gP7WC3SPbebRTVOJOfC5EaIKLjPFm2vH/BNuTjz/da/8ydyO3WgDcq 0DDTN90ubBC+3/UBIgBXSExVuzqrBYABksL2qbFhSN8oHm529YIwzn5eMiZ7avbTnA47 o/0S8bOueb/DbfRG89GcXfCNI2Ck5Lkiw7enlQmbtYbKrrGMGlEFC6UQKJeyf2PitZbR bGY0PXe9XFBG9ev/m4ArB4tbsHQ61+dYrPz3VtA8vuEXeCVp6BAaixh6rXaMPUKMVaJf olUM4sfsc0nZfNH3HxTdBt27uaacx5vekYlotbsOwAp8FTqJjrHx5P1eD1oTrych6zGV 5bSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WgLViXSS; 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 g21si1515486edb.13.2021.06.16.01.46.29; Wed, 16 Jun 2021 01:46:51 -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=WgLViXSS; 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 S231524AbhFPIpq (ORCPT + 99 others); Wed, 16 Jun 2021 04:45:46 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:59910 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231336AbhFPIpp (ORCPT ); Wed, 16 Jun 2021 04:45:45 -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 15G8hWb4000690; Wed, 16 Jun 2021 03:43:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623833012; bh=drAzmKnTkRfUXqRP7+mn9JKkLyutK7LL/KIHYfgEfU0=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=WgLViXSSi3H0L1JBXJoectch7MRTSzxVkBlKAxejAsIehDSqxRGgxGKBasGEZ9Ctz n3pDgmHso1zYhnITCXaVm3PnrWf6XfcZ1tuiVQOkIXD64JbWP8EngRtEEYCPnnvXHF PS0S7m0LPdRKVxwNl/3xk6rge2iKnydFkQw54voU= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 15G8hWdm130374 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 16 Jun 2021 03:43:32 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 16 Jun 2021 03:43:32 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE110.ent.ti.com (10.64.6.31) 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, 16 Jun 2021 03:43:32 -0500 Received: from [10.250.235.117] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 15G8hOLJ058581; Wed, 16 Jun 2021 03:43:25 -0500 Subject: Re: [PATCH v4 3/3] arm64: dts: ti: k3-am64-main: Update the location of TF-A To: Nishanth Menon CC: Vignesh Raghavendra , Suman Anna , Lokesh Vutla , Kishon Vijay Abraham I , Tero Kristo , Rob Herring , , , References: <20210615174325.22853-1-a-govindraju@ti.com> <20210615174325.22853-4-a-govindraju@ti.com> <20210616002005.c5vxes67pltuxiry@liking> From: Aswath Govindraju Message-ID: Date: Wed, 16 Jun 2021 14:13:23 +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: <20210616002005.c5vxes67pltuxiry@liking> 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 Hi Nishanth, On 16/06/21 5:50 am, Nishanth Menon wrote: > On 23:13-20210615, 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 TF-A have been >> moved to 0x70000000 and 0x701c4000 respectively. >> >> Therefore, update TF-A's location in the device tree node. > > One additional topic to add is the dependency on bootloader update for > this as well. I know things are chicken or egg kind of problem, but > will be good to mention requires newer version than 2021.xx version of > u-boot as this is an "breaking" change. And, if we block both regions > off for bootloader compatibility, that is not feasible given the > limited SRAM available as well. > Will include this in the repsin by indicating the version in which the ATF has been moved. Thanks, Aswath >> >> 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 6a883f4349cb..7ab3652dfdfb 100644 >> --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi >> +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi >> @@ -24,8 +24,8 @@ >> #size-cells = <1>; >> ranges = <0x0 0x00 0x70000000 0x200000>; >> >> - tfa-sram@0 { >> - reg = <0x0 0x1c000>; >> + tfa-sram@1c4000 { >> + reg = <0x1c4000 0x1c000>; >> }; >> >> dmsc-sram@1e0000 { >> -- >> 2.17.1 >> >