Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3268913pxj; Mon, 7 Jun 2021 06:41:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFasvUiUZl6uPTsQkjMcSQpWckWiM6vD1IyHgiS8H7us6aAQi54jzEpY9yeqyyQY89cUJo X-Received: by 2002:a05:6402:cb5:: with SMTP id cn21mr9628552edb.164.1623073285762; Mon, 07 Jun 2021 06:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623073285; cv=none; d=google.com; s=arc-20160816; b=KR9+y0tPIXruht9JKzKCS2yt8UEPgbRyih0V047nSkRZWvf08/nVnlVOeJ7LBtS4pH WIpWD2CqjXG2TYXcwdU/VdJsu6Qvi3lLxKFbe71PLG8/UIlCapkROcKW4H7/MZOFPxS9 OTJzkl/JyGjUfsCuDVUOFmWMUhmyolg8IJNvUq8n6Phed0Cya2j0v9GwaGh0433/iW7I qVSrWZWehS/jG47JmG8Z4Axn9O3vQF3eaDXD/S3/ax/gaZ2ABetNCCSfk4PVe8+iQ+C3 aPk+KfQUyvBwiPBONJjLDlBbBUzXmTH+0xshjll73+qDpo/4geqMWf/5XBplNfUAA7um BBig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:message-id:date:subject:cc:from :dkim-signature; bh=zg08DIEdTQ/WvsmZgoAmyQMxsRdgVebwT1zZYza8y74=; b=QFjbvsqb8xYV3nbZ+sl44dgfjc+MSLUVc+mYGAZ4Pf7XXAml1STUJd951AWRQolqxX 11LRbVfNZ0/e16drtTKc3CPeMM+7+lPTbsLCzAAB1dvVsn92heF/6DqCUmIEg5w84ZGB AjwtDQBcabuj6tDEhWQdyG7316rUyLlf9sLpk1eoeyztUaAPSO3Q/BB5JTEbulHpAZI9 k+ExSOiOHAI13haTUrRJeuT8X5s4XYGIHDWfdq/PFz+GxGSGbXYSPQu5O1J6bzwPm5EC dHcE59ivPUb6aOJaah/QHk30VnATG59UdhUY8l97WUrIzx4URQMy16Y8+8wheBXosATy slHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=ruEgLhMY; 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=fail (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 s24si11716455ejm.477.2021.06.07.06.41.02; Mon, 07 Jun 2021 06:41:25 -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=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=ruEgLhMY; 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=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230355AbhFGNkN (ORCPT + 99 others); Mon, 7 Jun 2021 09:40:13 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:45572 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbhFGNkK (ORCPT ); Mon, 7 Jun 2021 09:40:10 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 157DcDND063671; Mon, 7 Jun 2021 08:38:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623073093; bh=zg08DIEdTQ/WvsmZgoAmyQMxsRdgVebwT1zZYza8y74=; h=From:To:CC:Subject:Date; b=ruEgLhMYCFHFT9QiAF9g0VCroVCw3lug6ad0OV1Wt/V8SukEKiLRuCgsRlziOdstq +s8HBlPg9gnYH0aBKGL+3UzkIHA6nA2qR5HbfeB7qGy4PJBtSWk2QgRGMHgR2Mxtbm QRHCv7rc9EQCBpdtTceo3xG4LusxB+1N46IMVP2Q= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 157DcDG2062686 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Jun 2021 08:38:13 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE104.ent.ti.com (10.64.6.25) 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:38:13 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE112.ent.ti.com (10.64.6.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:38:13 -0500 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 157Dc8a5031333; Mon, 7 Jun 2021 08:38:09 -0500 From: Aswath Govindraju CC: Lokesh Vutla , Vignesh Raghavendra , Suman Anna , Kishon Vijay Abraham I , Aswath Govindraju , Nishanth Menon , Tero Kristo , Rob Herring , , , Subject: [PATCH v2] arm64: dts: ti: k3-am64-main: Update the location of ATF in SRAM and increase its max size Date: Mon, 7 Jun 2021 19:08:06 +0530 Message-ID: <20210607133806.18158-1-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; }; }; -- 2.17.1