From: Stefan Riedmueller <s.riedmuel...@phytec.de>

Add the SPI NOR barebox-environment node to the devicetree to make it
possible to use the barebox-environment from SPI NOR when booting barebox
from SPI NOR.

Signed-off-by: Stefan Riedmueller <s.riedmuel...@phytec.de>
Signed-off-by: Christian Hemp <c.h...@phytec.de>
---
 arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi 
b/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi
index 923c79c67b..a826a8b2ef 100644
--- a/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi
@@ -32,6 +32,12 @@
                        device-path = &gpmi, "partname:barebox-environment";
                        status = "disabled";
                };
+
+               environment-spinor {
+                       compatible = "barebox,environment";
+                       device-path = &flash, "partname:barebox-environment";
+                       status = "disabled";
+               };
        };
 };
 
-- 
2.16.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to