From patchwork Thu Jan 5 14:50:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 9499137 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BDF36606B5 for ; Thu, 5 Jan 2017 15:06:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B572128415 for ; Thu, 5 Jan 2017 15:06:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AA46F28419; Thu, 5 Jan 2017 15:06:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 733F028415 for ; Thu, 5 Jan 2017 15:06:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cP9cm-0000Y6-Ae; Thu, 05 Jan 2017 15:06:40 +0000 Received: from mail.phycore.de ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cP9Ns-0000Jl-2o for linux-arm-kernel@lists.infradead.org; Thu, 05 Jan 2017 14:51:19 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id D5485A002C6; Thu, 5 Jan 2017 15:50:54 +0100 (CET) Received: from augenblix.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2017010515505119-25480 ; Thu, 5 Jan 2017 15:50:51 +0100 From: Teresa Remmet To: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/6] ARM: dts: am335x-phycore-som: Update NAND partition table Date: Thu, 5 Jan 2017 15:50:46 +0100 Message-Id: <1483627851-17996-2-git-send-email-t.remmet@phytec.de> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1483627851-17996-1-git-send-email-t.remmet@phytec.de> References: <1483627851-17996-1-git-send-email-t.remmet@phytec.de> X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 05.01.2017 15:50:51, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 05.01.2017 15:50:51, Serialize complete at 05.01.2017 15:50:51 X-TNEFEvaluated: 1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170105_065116_359609_9BE9F11F X-CRM114-Status: GOOD ( 10.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Lindgren , Mark Rutland , Rob Herring , =?UTF-8?q?Beno=C3=AEt=20Cousson?= MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP To improve NAND safety we updated the partition layout. Added barebox backup partition and removed kernel and oftree partition. They are kept in ubi now. Signed-off-by: Teresa Remmet --- arch/arm/boot/dts/am335x-phycore-som.dtsi | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi b/arch/arm/boot/dts/am335x-phycore-som.dtsi index 75e24ad..ef3fe5a 100644 --- a/arch/arm/boot/dts/am335x-phycore-som.dtsi +++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi @@ -222,21 +222,19 @@ label = "barebox"; reg = <0x80000 0x80000>; }; + partition@5 { - label = "bareboxenv"; - reg = <0x100000 0x40000>; + label = "barebox_backup"; + reg = <0x100000 0x80000>; }; + partition@6 { - label = "oftree"; - reg = <0x140000 0x40000>; + label = "bareboxenv"; + reg = <0x180000 0x40000>; }; partition@7 { - label = "kernel"; - reg = <0x180000 0x800000>; - }; - partition@8 { label = "root"; - reg = <0x980000 0x0>; + reg = <0x1C0000 0x0>; }; }; };