[PATCH v5 08/12] ARM: dts: protonic: lanmcu: add eMMC partition table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since this board do not including imx6qdl-prti6q.dtsi, it will not get
partition table which was added for other Protonic boards. So, add it
separately.

Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
---
 arch/arm/dts/imx6dl-lanmcu.dts | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/imx6dl-lanmcu.dts b/arch/arm/dts/imx6dl-lanmcu.dts
index b05ed9c3ba..06d47bdc0d 100644
--- a/arch/arm/dts/imx6dl-lanmcu.dts
+++ b/arch/arm/dts/imx6dl-lanmcu.dts
@@ -13,6 +13,11 @@
 
 	chosen {
 		stdout-path = &uart4;
+
+		environment-emmc {
+			compatible = "barebox,environment";
+			device-path = &usdhc3, "partname:barebox-environment";
+		};
 	};
 
 	memory {
@@ -414,9 +419,14 @@
 		#size-cells = <1>;
 		#address-cells = <1>;
 
-		bootstate_backend: bootstate_backend@f0000 {
-			reg = <0xf0000 0x10000>;
-			label = "bootstate";
+		partition@100000 {
+			label = "barebox-environment";
+			reg = <0x100000 0x100000>;
+		};
+
+		partition@200000 {
+			label = "state";
+			reg = <0x200000 0x100000>;
 		};
 	};
 };
-- 
2.28.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux