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 <[email protected]>
---
 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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to