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=-17.6 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,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 78CD7C48BE6 for ; Wed, 16 Jun 2021 18:23:14 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 61782613B9 for ; Wed, 16 Jun 2021 18:23:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61782613B9 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5FDFA80296; Wed, 16 Jun 2021 20:23:10 +0200 (CEST) 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="qcJgu+90"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF7F280412; Wed, 16 Jun 2021 20:23:08 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 DB0AB80092 for ; Wed, 16 Jun 2021 20:23:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=s-anna@ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 15GIN3EW047716 for ; Wed, 16 Jun 2021 13:23:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623867783; bh=hVZyhfVTP/uZY59DKxdnesjydvwyBALeKfShzuPd8ow=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=qcJgu+90sonbi2GxXldXIs+fBKphKfOAjsJw+qH6LKCbBnf0eo+K56qP1F8rX9H6Z 0Rcr/VM5hvzwcb58j6v2RIAMcyAJcx597JDJtrVuTiKG6khcvUuMtOYtl3eZZzsd8e gHvSfOBm/N+YEfDmC8nCoy4njzpGnkhVONcxt/Kg= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 15GIN2ov033008 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 16 Jun 2021 13:23:03 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) 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; Wed, 16 Jun 2021 13:23:01 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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 via Frontend Transport; Wed, 16 Jun 2021 13:23:01 -0500 Received: from [10.250.36.147] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 15GIN12u019706; Wed, 16 Jun 2021 13:23:01 -0500 Subject: Re: [PATCH v2 1/2] configs: am64x_evm_a53_defconfig: Move TF-A load address to 0x701c0000 To: Aswath Govindraju CC: , Lokesh Vutla , Nishanth Menon , Dave Gerlach , Vignesh Raghavendra , Kishon Vijay Abraham I References: <20210616163821.20457-1-a-govindraju@ti.com> <20210616163821.20457-2-a-govindraju@ti.com> From: Suman Anna Message-ID: Date: Wed, 16 Jun 2021 13:23:01 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210616163821.20457-2-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 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On 6/16/21 11:38 AM, Aswath Govindraju wrote: > Earlier, the region 0x701c0000 to 0x701dffff was firewalled off because of > a bug in SYSFW. In the v2021.05 release of SYSFW this bug has been fixed > and this region can now be used for other allocations. > > Therefore, move TF-A's load address to 0x701c0000 and update its location > in the device tree node. Also, increase the size allocated for TF-A to > account for future expansions. > > Fixes: defd62ca137b ("arm: dts: k3-am64-main: Update the location of ATF in SRAM and increase its max size") > Signed-off-by: Aswath Govindraju Reviewed-by: Suman Anna > --- > arch/arm/dts/k3-am64-main.dtsi | 4 ++-- > configs/am64x_evm_a53_defconfig | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/dts/k3-am64-main.dtsi b/arch/arm/dts/k3-am64-main.dtsi > index 6b5ebec6b1fe..f68b969a2e9b 100644 > --- a/arch/arm/dts/k3-am64-main.dtsi > +++ b/arch/arm/dts/k3-am64-main.dtsi > @@ -13,8 +13,8 @@ > #size-cells = <1>; > ranges = <0x0 0x00 0x70000000 0x200000>; > > - atf-sram@0 { > - reg = <0x1a0000 0x1c000>; > + tfa-sram@1c0000 { > + reg = <0x1c0000 0x20000>; > }; > }; > > diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig > index fbce9e96748f..c8935dbde5f9 100644 > --- a/configs/am64x_evm_a53_defconfig > +++ b/configs/am64x_evm_a53_defconfig > @@ -5,7 +5,7 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y > CONFIG_SYS_MALLOC_F_LEN=0x8000 > CONFIG_NR_DRAM_BANKS=2 > CONFIG_SOC_K3_AM642=y > -CONFIG_K3_ATF_LOAD_ADDR=0x701a0000 > +CONFIG_K3_ATF_LOAD_ADDR=0x701c0000 > CONFIG_TARGET_AM642_A53_EVM=y > CONFIG_ENV_SIZE=0x20000 > CONFIG_SYS_SPI_U_BOOT_OFFS=0x280000 >