ARM: dts: rmobile: Drop MTD partitioning from DT
PATCH v4 1/1 ARM: dts: rmobile: Drop MTD partitioning from DT
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:
lager: mtdparts=spi0.0:256k(loader),4m(user),-(flash) stout: mtdparts=spi0.0:512k(loader),256k(uboot),256k(uboot-env),-(flash) koelsch: mtdparts=spi0.0:512k(loader),5632k(user),-(flash) porter: mtdparts=spi0.0:256k(loader_prg),4m(user_prg),-(flash_fs) wheat: mtdparts=spi0.0:256k(loader),4m(user),-(flash) gose: mtdparts=spi0.0:256k(loader),4m(user),-(flash) alt: mtdparts=spi0.0:256k(loader),256k(system),-(user) silk: mtdparts=spi0.0:256k(loader),4m(user),-(flash)
Signed-off-by Marek Vasut <[email protected]>
Acked-by Wolfram Sang <[email protected]>
Reviewed-by Geert Uytterhoeven <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Simon Horman <[email protected]>
Cc Wolfram Sang <[email protected]>
Cc linux-renesas-soc at vger.kernel.org
---
V2: Drop the @0 anchor from the commit message, use 4m
V3: Squash the patches into one as requested by the higher ups
V4: Add this missing Vx to PATCH Vx in subject
--- arch/arm/boot/dts/r8a7790-lager.dts | 21 --------------------- arch/arm/boot/dts/r8a7790-stout.dts | 26 -------------------------- arch/arm/boot/dts/r8a7791-koelsch.dts | 21 --------------------- arch/arm/boot/dts/r8a7791-porter.dts | 21 --------------------- arch/arm/boot/dts/r8a7792-wheat.dts | 21 --------------------- arch/arm/boot/dts/r8a7793-gose.dts | 21 --------------------- arch/arm/boot/dts/r8a7794-alt.dts | 21 --------------------- arch/arm/boot/dts/r8a7794-silk.dts | 21 --------------------- 8 files changed, 173 deletions(-)
arch/arm/boot/dts/r8a7790-lager.dts +0 -21
@@ -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>; - }; - }; }; };
arch/arm/boot/dts/r8a7790-stout.dts +0 -26
@@ -211,32 +211,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 0x00080000>; - read-only; - }; - partition at 80000 { - label = "uboot"; - reg = <0x00080000 0x00040000>; - read-only; - }; - partition at c0000 { - label = "uboot-env"; - reg = <0x000c0000 0x00040000>; - read-only; - }; - partition at 100000 { - label = "flash"; - reg = <0x00100000 0x03f00000>; - }; - }; }; };
arch/arm/boot/dts/r8a7791-koelsch.dts +0 -21
@@ -724,27 +724,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 0x00080000>; - read-only; - }; - partition at 80000 { - label = "user"; - reg = <0x00080000 0x00580000>; - read-only; - }; - partition at 600000 { - label = "flash"; - reg = <0x00600000 0x03a00000>; - }; - }; }; };
arch/arm/boot/dts/r8a7791-porter.dts +0 -21
@@ -344,27 +344,6 @@ spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition at 0 { - label = "loader_prg"; - reg = <0x00000000 0x00040000>; - read-only; - }; - partition at 40000 { - label = "user_prg"; - reg = <0x00040000 0x00400000>; - read-only; - }; - partition at 440000 { - label = "flash_fs"; - reg = <0x00440000 0x03bc0000>; - }; - }; }; };
arch/arm/boot/dts/r8a7792-wheat.dts +0 -21
@@ -217,27 +217,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>; - }; - }; }; };
arch/arm/boot/dts/r8a7793-gose.dts +0 -21
@@ -676,27 +676,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>; - }; - }; }; };
arch/arm/boot/dts/r8a7794-alt.dts +0 -21
@@ -419,26 +419,5 @@ 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 = "system"; - reg = <0x00040000 0x00040000>; - read-only; - }; - partition at 80000 { - label = "user"; - reg = <0x00080000 0x03f80000>; - }; - }; }; };
arch/arm/boot/dts/r8a7794-silk.dts +0 -21
@@ -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>; - }; - }; }; };
Signature · 1 line
2.17.0