Skip to contentSkip to conversation

ARM: dts: imx28-m28: Remove unneeded partition nodes

PATCH New Fabio Estevam 3 participants 3 messages Apr 27, 2016 – May 3, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: imx28-m28: Remove unneeded partition nodes

mtdparts is passed from command line, so there is no need to have a default partitioning in device-tree.

---
Changes since v1:
- Remove all partition nodes

 arch/arm/boot/dts/imx28-m28.dtsi | 26 --------------------------
 1 file changed, 26 deletions(-)
arch/arm/boot/dts/imx28-m28.dtsi +0 -26
index 759cc56..6cebaa6 100644
@@ -27,32 +27,6 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
 				status = "okay";
-
-				partition at 0 {
-					label = "bootloader";
-					reg = <0x00000000 0x00300000>;
-					read-only;
-				};
-
-				partition at 1 {
-					label = "environment";
-					reg = <0x00300000 0x00080000>;
-				};
-
-				partition at 2 {
-					label = "redundant-environment";
-					reg = <0x00380000 0x00080000>;
-				};
-
-				partition at 3 {
-					label = "kernel";
-					reg = <0x00400000 0x00400000>;
-				};
-
-				partition at 4 {
-					label = "filesystem";
-					reg = <0x00800000 0x0f800000>;
-				};
 			};
 		};
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 ARM: dts: imx28-m28: Remove unneeded partition nodes

Quoted 5 lines · Fabio Estevam

mtdparts is passed from command line, so there is no need to have a default partitioning in device-tree.

Thanks for doing this :)

Quoted 45 lines

---
Changes since v1:
- Remove all partition nodes

 arch/arm/boot/dts/imx28-m28.dtsi | 26 --------------------------
 1 file changed, 26 deletions(-)
arch/arm/boot/dts/imx28-m28.dtsi +0 -26
index 759cc56..6cebaa6 100644
@@ -27,32 +27,6 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
 				status = "okay";
-
-				partition at 0 {
-					label = "bootloader";
-					reg = <0x00000000 0x00300000>;
-					read-only;
-				};
-
-				partition at 1 {
-					label = "environment";
-					reg = <0x00300000 0x00080000>;
-				};
-
-				partition at 2 {
-					label = "redundant-environment";
-					reg = <0x00380000 0x00080000>;
-				};
-
-				partition at 3 {
-					label = "kernel";
-					reg = <0x00400000 0x00400000>;
-				};
-
-				partition at 4 {
-					label = "filesystem";
-					reg = <0x00800000 0x0f800000>;
-				};
 			};
 		};
 
Signature · 2 lines
Best regards,
Marek Vasut