From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: [PATCH v2 9/9] ARM: dts: silk: Drop MTD partitioning from DT Date: Thu, 24 May 2018 17:07:21 +0200 Message-ID: <20180524150721.28964-9-marek.vasut+renesas@gmail.com> References: <20180524150721.28964-1-marek.vasut+renesas@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180524150721.28964-1-marek.vasut+renesas@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org, Geert Uytterhoeven , Wolfram Sang , linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Simon Horman , Marek Vasut List-Id: devicetree@vger.kernel.org Drop the MTD partitioning from DT, since it does not describe HW and to give way to a more flexible kernel command line partition passing. To retain the original partitioning, assure you have enabled CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the following to your kernel command line: mtdparts=spi0.0:256k(loader),4m(user),-(flash) Signed-off-by: Marek Vasut Acked-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Cc: Geert Uytterhoeven Cc: Laurent Pinchart Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org --- V2: Drop the @0 anchor from the commit message, use 4m --- arch/arm/boot/dts/r8a7794-silk.dts | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts index 7808aaee6644..b8163a0e2190 100644 --- a/arch/arm/boot/dts/r8a7794-silk.dts +++ b/arch/arm/boot/dts/r8a7794-silk.dts @@ -444,27 +444,6 @@ spi-cpol; spi-cpha; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "loader"; - reg = <0x00000000 0x00040000>; - read-only; - }; - partition@40000 { - label = "user"; - reg = <0x00040000 0x00400000>; - read-only; - }; - partition@440000 { - label = "flash"; - reg = <0x00440000 0x03bc0000>; - }; - }; }; }; -- 2.16.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com ([74.125.82.67]:53222 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S970728AbeEXPH4 (ORCPT ); Thu, 24 May 2018 11:07:56 -0400 From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org, Marek Vasut , Geert Uytterhoeven , Laurent Pinchart , Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.org Subject: [PATCH v2 9/9] ARM: dts: silk: Drop MTD partitioning from DT Date: Thu, 24 May 2018 17:07:21 +0200 Message-Id: <20180524150721.28964-9-marek.vasut+renesas@gmail.com> In-Reply-To: <20180524150721.28964-1-marek.vasut+renesas@gmail.com> References: <20180524150721.28964-1-marek.vasut+renesas@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Drop the MTD partitioning from DT, since it does not describe HW and to give way to a more flexible kernel command line partition passing. To retain the original partitioning, assure you have enabled CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the following to your kernel command line: mtdparts=spi0.0:256k(loader),4m(user),-(flash) Signed-off-by: Marek Vasut Acked-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Cc: Geert Uytterhoeven Cc: Laurent Pinchart Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org --- V2: Drop the @0 anchor from the commit message, use 4m --- arch/arm/boot/dts/r8a7794-silk.dts | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts index 7808aaee6644..b8163a0e2190 100644 --- a/arch/arm/boot/dts/r8a7794-silk.dts +++ b/arch/arm/boot/dts/r8a7794-silk.dts @@ -444,27 +444,6 @@ spi-cpol; spi-cpha; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "loader"; - reg = <0x00000000 0x00040000>; - read-only; - }; - partition@40000 { - label = "user"; - reg = <0x00040000 0x00400000>; - read-only; - }; - partition@440000 { - label = "flash"; - reg = <0x00440000 0x03bc0000>; - }; - }; }; }; -- 2.16.2 From mboxrd@z Thu Jan 1 00:00:00 1970 From: marek.vasut@gmail.com (Marek Vasut) Date: Thu, 24 May 2018 17:07:21 +0200 Subject: [PATCH v2 9/9] ARM: dts: silk: Drop MTD partitioning from DT In-Reply-To: <20180524150721.28964-1-marek.vasut+renesas@gmail.com> References: <20180524150721.28964-1-marek.vasut+renesas@gmail.com> Message-ID: <20180524150721.28964-9-marek.vasut+renesas@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Drop the MTD partitioning from DT, since it does not describe HW and to give way to a more flexible kernel command line partition passing. To retain the original partitioning, assure you have enabled CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the following to your kernel command line: mtdparts=spi0.0:256k(loader),4m(user),-(flash) Signed-off-by: Marek Vasut Acked-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Cc: Geert Uytterhoeven Cc: Laurent Pinchart Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc at vger.kernel.org --- V2: Drop the @0 anchor from the commit message, use 4m --- arch/arm/boot/dts/r8a7794-silk.dts | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts index 7808aaee6644..b8163a0e2190 100644 --- a/arch/arm/boot/dts/r8a7794-silk.dts +++ b/arch/arm/boot/dts/r8a7794-silk.dts @@ -444,27 +444,6 @@ spi-cpol; spi-cpha; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition at 0 { - label = "loader"; - reg = <0x00000000 0x00040000>; - read-only; - }; - partition at 40000 { - label = "user"; - reg = <0x00040000 0x00400000>; - read-only; - }; - partition at 440000 { - label = "flash"; - reg = <0x00440000 0x03bc0000>; - }; - }; }; }; -- 2.16.2