Change environment device-path from using a separate label to referencing a device plus partname. Signed-off-by: Stefan Riedmueller <s.riedmueller@xxxxxxxxx> --- arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi index 78fc0c719637..c28076294092 100644 --- a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi +++ b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi @@ -11,13 +11,13 @@ chosen { environment-nand { compatible = "barebox,environment"; - device-path = &environment_nand; + device-path = &gpmi, "partname:barebox-environment"; status = "disabled"; }; environment-sd3 { compatible = "barebox,environment"; - device-path = &environment_usdhc3; + device-path = &usdhc3, "partname:barebox-environment"; status = "disabled"; }; }; @@ -46,7 +46,7 @@ reg = <0x0 0x400000>; }; - environment_nand: partition@400000 { + partition@400000 { label = "barebox-environment"; reg = <0x400000 0x20000>; }; @@ -168,7 +168,8 @@ label = "barebox"; reg = <0x0 0xe0000>; }; - environment_usdhc3: partition@e0000 { + + partition@e0000 { label = "barebox-environment"; reg = <0xe0000 0x20000>; }; -- 2.7.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox