From: Cory Tusar <cory.tusar@xxxxxxxx> Signed-off-by: Cory Tusar <cory.tusar@xxxxxxxx> --- 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..7400c8d77 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-0 = &esdhc1, "partname:uboot-environment-0"; + }; }; 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 + */ + partition@c0000 { + label = "uboot-environment-0"; + reg = <0xc0000 0x20000>; + }; + }; +}; + &mdio_gpio { switch: switch@0 {}; }; -- 2.21.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox