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: 9499119 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 7E521606B5 for ; Thu, 5 Jan 2017 14:57:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75484283EB for ; Thu, 5 Jan 2017 14:57:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69BFF28415; Thu, 5 Jan 2017 14:57:01 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE476283EB for ; Thu, 5 Jan 2017 14:57:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970950AbdAEO47 (ORCPT ); Thu, 5 Jan 2017 09:56:59 -0500 Received: from mail.phytec.co.uk ([217.6.246.34]:42103 "EHLO root.phytec.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967867AbdAEO46 (ORCPT ); Thu, 5 Jan 2017 09:56:58 -0500 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 Cc: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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>; }; }; };