[PATCH 4/9] ARM: zynq: zed: add environment

Lucas Stach dev at lynxeye.de
Fri Dec 13 13:00:10 PST 2024


This adds support for a persistent environment on the first
FAT partition on the SD card, next to the barebox binary.

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 arch/arm/dts/zynq-zed.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/zynq-zed.dts b/arch/arm/dts/zynq-zed.dts
index 25b4d6df2937..2a166189d683 100644
--- a/arch/arm/dts/zynq-zed.dts
+++ b/arch/arm/dts/zynq-zed.dts
@@ -4,6 +4,12 @@
 / {
 	chosen {
 		stdout-path = &uart1;
+
+		environment-sd {
+			compatible = "barebox,environment";
+			device-path = &sdhci0, "partname:0";
+			file-path = "barebox.env";
+		};
 	};
 };
 
-- 
2.47.1




More information about the barebox mailing list