[PATCH] ARM: i.MX6Q: Embedsky E9: Convert environment paths in DTS to a new bindings

Andrey Panov rockford at yandex.ru
Thu Dec 10 11:20:12 PST 2015


Signed-off-by: Andrey Panov <rockford at yandex.ru>
---
 arch/arm/dts/imx6q-embedsky-e9.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/dts/imx6q-embedsky-e9.dts b/arch/arm/dts/imx6q-embedsky-e9.dts
index 4514d4e..726d620 100644
--- a/arch/arm/dts/imx6q-embedsky-e9.dts
+++ b/arch/arm/dts/imx6q-embedsky-e9.dts
@@ -22,13 +22,13 @@
 
 		environment-mmc1 {
 			compatible = "barebox,environment";
-			device-path = &usdhc2, "partname:barebox-environment";
+			device-path = &environment_mmc1;
 			status = "disabled";
 		};
 
 		environment-mmc3 {
 			compatible = "barebox,environment";
-			device-path = &usdhc4, "partname:barebox-environment";
+			device-path = &environment_mmc3;
 			status = "disabled";
 		};
 
@@ -43,7 +43,7 @@
 		label = "barebox";
 		reg = <0x0 0x80000>;
 	};
-	partition at 1 {
+	environment_mmc1: partition at 1 {
 		label = "barebox-environment";
 		reg = <0x80000 0x80000>;
 	};
@@ -57,7 +57,7 @@
 		label = "barebox";
 		reg = <0x0 0x80000>;
 	};
-	partition at 1 {
+	environment_mmc3: partition at 1 {
 		label = "barebox-environment";
 		reg = <0x80000 0x80000>;
 	};
-- 
2.6.2




More information about the barebox mailing list