From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mickerik.phytec.de ([195.145.39.210]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ieziP-0004Cf-6Z for barebox@lists.infradead.org; Wed, 11 Dec 2019 10:59:35 +0000 From: Stefan Riedmueller Date: Wed, 11 Dec 2019 11:59:21 +0100 Message-Id: <1576061961-153938-7-git-send-email-s.riedmueller@phytec.de> In-Reply-To: <1576061961-153938-1-git-send-email-s.riedmueller@phytec.de> References: <1576061961-153938-1-git-send-email-s.riedmueller@phytec.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v3 7/7] ARM: dts: imx6: phytec: Increase NAND barebox partition size To: barebox@lists.infradead.org For NAND flash with eraseblock size 1 MB and more the current barebox partition size is not sufficient. The 4 FCB copies alone occupy the 4 MB partition size. Increase the partition size to 16 MB to be fit for the future and leaving some blocks for bad block handling as well. Signed-off-by: Stefan Riedmueller --- Changes in v3: - Rebased on latest master --- arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 6 +++--- arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 6 +++--- arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi index 846ebbe6b18b..841ad653b26d 100644 --- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi @@ -98,17 +98,17 @@ partition@0 { label = "barebox"; - reg = <0x0 0x400000>; + reg = <0x0 0x1000000>; }; partition@400000 { label = "barebox-environment"; - reg = <0x400000 0x100000>; + reg = <0x1000000 0x100000>; }; partition@500000 { label = "root"; - reg = <0x500000 0x0>; + reg = <0x1100000 0x0>; }; }; }; diff --git a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi index 892bce1fc0ab..5d287258bb6c 100644 --- a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi +++ b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi @@ -42,17 +42,17 @@ partition@0 { label = "barebox"; - reg = <0x0 0x400000>; + reg = <0x0 0x1000000>; }; environment_nand: partition@400000 { label = "barebox-environment"; - reg = <0x400000 0x20000>; + reg = <0x1000000 0x100000>; }; partition@420000 { label = "root"; - reg = <0x420000 0x0>; + reg = <0x1100000 0x0>; }; }; }; diff --git a/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi index 69f252b42382..918b62f794b3 100644 --- a/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi +++ b/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi @@ -50,17 +50,17 @@ partition@0 { label = "barebox"; - reg = <0x0 0x400000>; + reg = <0x0 0x1000000>; }; partition@400000 { label = "barebox-environment"; - reg = <0x400000 0x100000>; + reg = <0x1000000 0x100000>; }; partition@500000 { label = "root"; - reg = <0x500000 0x0>; + reg = <0x1100000 0x0>; }; }; }; -- 2.7.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox