summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2021-06-24 17:00:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-25 09:39:19 +0200
commit304210b79ba4a85b0c4ee2a1b594e4bc5cf073e7 (patch)
tree13b48e30358bbf93f54d78d65bb630585e692e56 /arch
parent207e48f5616fd2b09ce0270ede49d1cde8b836e5 (diff)
downloadbarebox-304210b79ba4a85b0c4ee2a1b594e4bc5cf073e7.tar.gz
barebox-304210b79ba4a85b0c4ee2a1b594e4bc5cf073e7.tar.xz
dts: zcu104: add Barebox environment
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@pengutronix.de> Link: https://lore.barebox.org/20210624150054.1205422-4-m.tretter@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/zynqmp-zcu104-revA.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp-zcu104-revA.dts b/arch/arm/dts/zynqmp-zcu104-revA.dts
index 8c467ee970..95b60a6b1d 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";
+ };
+ };
+};