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=-15.6 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,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 ED158C48BE5 for ; Wed, 16 Jun 2021 08:45:11 +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 A5E106115B for ; Wed, 16 Jun 2021 08:45:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5E106115B 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=527BpBCMCOGFMKa7kvIMV4giPhaj/vYwGttjGPKKL68=; b=mwU2MmlaT7CJZM THf0EFSZ1GTM2ysNpe4R2/wRgFQYOKAxSSZ1IvlS30c3Wdq+I7laaXEcu38GpK+XmV45Bjlz8j/UC AHjP2sH6drehFr5Lr98ozO1jLr34W09a/uY57cB+TJTD2sH4mV1WIw4MiiNBmcxKY9ZZbzNNjMgFO JzxViKNTx6Asof3Sgy9z9WGx+MbBs035SbjkC6KShhlcFWht3BTZ4DSHOYzgYdZ+EwB/8EO004PtI II+s7Og49ayNvKuCAiC6EIa3zCKLNaP+zXjVlsV/2vMaQmYpY2T+d64HiLTaYhWLyD/iJwDv/j51o M5SAFKaJFFfFUFQ0A0aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltR9A-005QZk-0E; Wed, 16 Jun 2021 08:43:40 +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 1ltR95-005QZ2-Qu for linux-arm-kernel@lists.infradead.org; Wed, 16 Jun 2021 08:43:37 +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 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 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-Language: en-US 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-20210616_014336_064376_6DF85323 X-CRM114-Status: GOOD ( 20.26 ) 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: , Cc: devicetree@vger.kernel.org, Vignesh Raghavendra , Tero Kristo , Lokesh Vutla , linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , Rob Herring , linux-arm-kernel@lists.infradead.org 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 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 >> > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel