[PATCH v2 3/7] dts: zcu104: add Barebox environment
Michael Tretter
m.tretter at pengutronix.de
Thu Jun 24 08:00:50 PDT 2021
Use the same partition on the SD-card that is used by the ROM loader to
find the BOOT.BIN (which contains the FSBL and Barebox) to store the
Barebox environment.
Signed-off-by: Michael Tretter <m.tretter at pengutronix.de>
---
Changelog:
v2: none
---
arch/arm/dts/zynqmp-zcu104-revA.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/zynqmp-zcu104-revA.dts b/arch/arm/dts/zynqmp-zcu104-revA.dts
index 8c467ee97045..95b60a6b1d69 100644
--- a/arch/arm/dts/zynqmp-zcu104-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu104-revA.dts
@@ -8,3 +8,13 @@
*/
#include <arm64/xilinx/zynqmp-zcu104-revA.dts>
+
+/ {
+ chosen {
+ environment {
+ compatible = "barebox,environment";
+ device-path = &sdhci1, "partname:0";
+ file-path = "barebox.env";
+ };
+ };
+};
--
2.30.2
More information about the barebox
mailing list