From mboxrd@z Thu Jan 1 00:00:00 1970 From: marek.vasut@gmail.com (Marek Vasut) Date: Tue, 22 May 2018 14:02:50 +0200 Subject: [PATCH 2/9] ARM: dts: lager: Drop MTD partitioning from DT In-Reply-To: <20180522120257.13232-1-marek.vasut+renesas@gmail.com> References: <20180522120257.13232-1-marek.vasut+renesas@gmail.com> Message-ID: <20180522120257.13232-2-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 at 0(loader),4096k(user),-(flash) Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Laurent Pinchart Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc at vger.kernel.org --- arch/arm/boot/dts/r8a7790-lager.dts | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 092610e3f953..7c95e62efd46 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -710,27 +710,6 @@ spi-cpha; spi-cpol; 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