[PATCH] Revert "ARM: dts: phycore-imx6: change mtd-partition names for compatibility with kernel"

Yunus Bas y.bas at phytec.de
Fri May 7 00:27:11 PDT 2021


This reverts commit 72ba815bf6feaa0a98d2496f52784dd5b4258e73.

The NVMEM name-clashing has been fixed on Linux-upstream. NVMEM devices
are now registered with the unique device names instead of the
MTD-partition names. This fix is no longer needed.
---
 arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi
index 2fb920945..2c333ce8f 100644
--- a/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi
@@ -29,7 +29,7 @@
 
 		environment-spinor {
 			compatible = "barebox,environment";
-			device-path = &m25p80, "partname:nor.barebox-environment";
+			device-path = &m25p80, "partname:barebox-environment";
 			status = "disabled";
 		};
 	};
@@ -86,22 +86,22 @@
 		#size-cells = <1>;
 
 		partition at 0 {
-			label = "nor.barebox";
+			label = "barebox";
 			reg = <0x0 0x100000>;
 		};
 
 		partition at 100000 {
-			label = "nor.barebox-environment";
+			label = "barebox-environment";
 			reg = <0x100000 0x20000>;
 		};
 
 		partition at 120000 {
-			label = "nor.oftree";
+			label = "oftree";
 			reg = <0x120000 0x20000>;
 		};
 
 		partition at 140000 {
-			label = "nor.kernel";
+			label = "kernel";
 			reg = <0x140000 0x0>;
 		};
 	};
-- 
2.30.0




More information about the barebox mailing list