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

Oleksij Rempel o.rempel at pengutronix.de
Thu Aug 20 03:34:50 EDT 2020


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 at pengutronix.de>
---
 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 at f0000 {
-			reg = <0xf0000 0x10000>;
-			label = "bootstate";
+		partition at 100000 {
+			label = "barebox-environment";
+			reg = <0x100000 0x100000>;
+		};
+
+		partition at 200000 {
+			label = "state";
+			reg = <0x200000 0x100000>;
 		};
 	};
 };
-- 
2.28.0




More information about the barebox mailing list