From patchwork Fri Aug 30 09:07:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beleswar Prasad Padhi X-Patchwork-Id: 13784777 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 9ABA2CA0EF6 for ; Fri, 30 Aug 2024 09:08:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ZMBFgcLlr1GEeDaMxYzRxEYPhkoPe7DjymWsFmll1hY=; b=ZteZMRb+yaa9XSKLqS6sh/6vN1 9xU2Y9wkFFNDBtGM9gG4YRtAufXVZ7jcVLBgBtGh89+Ev4QyztySqt2HYKsG4OhDL0YkNm6XOFzHz qXHyZSQJO7UNqKYtAcLBjRB/qrMAPtoo5fL7mr44noyDT7Mw/X5QJ3HsPMA/eaSAzq9r7pHhSgjLh QTiICQXO4QO7gtDYIghhoNpSFjL8xO24Pk76KRum2TpxqNfuRIz30kf/sHk7Qcc6MJN+cWsenyqpi 20kTASGJG++XJVx4c72HWsyo3afOJiocPub3THZR4XNmWy+7hIAdSVQO/CvUpLTW3oSrsse65Ug6M bpP9BgaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjxc2-00000005Twu-1lZd; Fri, 30 Aug 2024 09:08:10 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjxb6-00000005Tef-3H9O for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2024 09:07:15 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47U977ZU033834; Fri, 30 Aug 2024 04:07:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1725008827; bh=ZMBFgcLlr1GEeDaMxYzRxEYPhkoPe7DjymWsFmll1hY=; h=From:To:CC:Subject:Date; b=a5Pm0YTMVmJRi2odAES/iZtpkv/jhuIsYrZHOkSTZKJooWjOmPqfe5Uw5FKD3XLSU extMKK+O2/0QC/vmQAuGUQl4g8fT6hjvBgp2jVb8Oevky5fV/HlxZaV0cwhMS9eMNZ tr59ZrLLmY7ryrc+J8hv9a85FtXOOr/If7l4OhI8= 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 ESMTP id 47U977V3080372; Fri, 30 Aug 2024 04:07:07 -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.2507.23; Fri, 30 Aug 2024 04:07:06 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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.2507.23 via Frontend Transport; Fri, 30 Aug 2024 04:07:06 -0500 Received: from uda0510294.dhcp.ti.com (uda0510294.dhcp.ti.com [172.24.227.151]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47U973uc023126; Fri, 30 Aug 2024 04:07:04 -0500 From: Beleswar Padhi To: , , , , , CC: , , , , Subject: [PATCH] arm64: dts: ti: k3-am69-sk: Update OSPI partitions offsets Date: Fri, 30 Aug 2024 14:37:02 +0530 Message-ID: <20240830090702.220402-1-b-padhi@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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-20240830_020713_030506_BA834990 X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org OSPI NOR flash was partitioned with a size of 1 MB for the initial bootloader ("ospi.tiboot3"). On the AM69-SK board, boot failures were sometimes observed when the initial bootloader size exceeded 512 KB. To address this, the initial bootloader image has been optimized to be smaller than 512 KB. Therefore, limit the first OSPI partition size to 512 KB and adjust the remaining size across the subsequent partitions. Signed-off-by: Beleswar Padhi --- arch/arm64/boot/dts/ti/k3-am69-sk.dts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts index 1e36965a1403..641236918379 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -1241,27 +1241,27 @@ partitions { partition@0 { label = "ospi.tiboot3"; - reg = <0x0 0x100000>; + reg = <0x0 0x80000>; }; - partition@100000 { + partition@80000 { label = "ospi.tispl"; - reg = <0x100000 0x200000>; + reg = <0x80000 0x200000>; }; - partition@300000 { + partition@280000 { label = "ospi.u-boot"; - reg = <0x300000 0x400000>; + reg = <0x280000 0x400000>; }; - partition@700000 { + partition@680000 { label = "ospi.env"; - reg = <0x700000 0x40000>; + reg = <0x680000 0x40000>; }; - partition@740000 { + partition@6c0000 { label = "ospi.env.backup"; - reg = <0x740000 0x40000>; + reg = <0x6c0000 0x40000>; }; partition@800000 {