From: Cory Tusar <[email protected]>

Signed-off-by: Cory Tusar <[email protected]>
---
 arch/arm/dts/imx51-zii-rdu1.dts | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/dts/imx51-zii-rdu1.dts b/arch/arm/dts/imx51-zii-rdu1.dts
index 01e46baf2..66d1e0144 100644
--- a/arch/arm/dts/imx51-zii-rdu1.dts
+++ b/arch/arm/dts/imx51-zii-rdu1.dts
@@ -23,6 +23,11 @@
                        compatible = "barebox,environment";
                        device-path = &spinor, "partname:barebox-environment";
                };
+
+               ubootenv {
+                       compatible = "barebox,uboot-environment";
+                       device-path = &uboot_env;
+               };
        };
 
        aliases {
@@ -61,6 +66,22 @@
        };
 };
 
+&esdhc1 {
+       partitions {
+               compatible = "fixed-partitions";
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               /*
+                * Layout info is taken from /etc/fw_env.config
+                */
+               uboot_env: partition@c0000 {
+                       label = "uboot-environment";
+                       reg = <0xc0000 0x20000>;
+               };
+       };
+};
+
 &mdio_gpio {
        switch: switch@0 {};
 };
-- 
2.21.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to