summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2023-03-27 15:12:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-04-17 09:00:44 +0200
commitef25a0ce960dd6af3bb386eeddb3d40907e16c3c (patch)
tree608c6429854668e210884274cd73a6d714e0a78d
parent7e1678e5f5a83d6e3e7ede405ad5ed1f48a13971 (diff)
downloadbarebox-ef25a0ce960dd6af3bb386eeddb3d40907e16c3c.tar.gz
Documentation: barebox environment: recommend a partition type GUID for GPT partitions
The partition type GUID was generated randomly. Having a defined GUID should reduce the risk of collisions in the future. The GUID and a phandle reference to the storage medium could be used as replacement for device-path if the medium supports GPT. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230327131218.247157-1-m.felsch@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--Documentation/devicetree/bindings/barebox/barebox,environment.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/barebox/barebox,environment.rst b/Documentation/devicetree/bindings/barebox/barebox,environment.rst
index 8a57bf1add..40239f424a 100644
--- a/Documentation/devicetree/bindings/barebox/barebox,environment.rst
+++ b/Documentation/devicetree/bindings/barebox/barebox,environment.rst
@@ -23,6 +23,9 @@ the path to the environment. Supported values for <type>:
be the label for MTD partitions, the number for DOS
partitions (beginning with 0) or the name for GPT partitions.
+If the *environmnet* is located in a GPT partition, use
+``6C3737F2-07F8-45D1-AD45-15D260AAB24D`` as partition type GUID.
+
The file-path is the name of a file located in a FAT filesystem on the
device named in device-path. This filesystem will be mounted and the
environment loaded from the file's location in the directory tree.