summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/bootmeth.txt
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2022-04-24 23:31:26 -0600
committerTom Rini <[email protected]>2022-04-25 10:00:04 -0400
commite7b2ce191ecab558b130b3b926dddcfc7231deb0 (patch)
tree47ff03f91117e522ec6fcc3c832baeea3ada84cd /doc/device-tree-bindings/bootmeth.txt
parenta91492b6e9c8c72a531a8e53711d0c144d4d1306 (diff)
bootstd: doc: Add documentation
Add documentation for this feature, including the commands and full devicetree bindings. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/device-tree-bindings/bootmeth.txt')
-rw-r--r--doc/device-tree-bindings/bootmeth.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/bootmeth.txt b/doc/device-tree-bindings/bootmeth.txt
new file mode 100644
index 00000000000..de6396a7b35
--- /dev/null
+++ b/doc/device-tree-bindings/bootmeth.txt
@@ -0,0 +1,31 @@
+U-Boot standard boot methods (bootmeth)
+======================================
+
+This provides methods (called bootmeths) for locating bootflows on a boot
+device (bootdev). These are normally created as children of the bootstd device.
+
+Required properties:
+
+compatible:
+ "u-boot,distro-syslinux" - distro boot from a block device
+ "u-boot,distro-pxe" - distro boot from a network device
+ "u-boot,distro-efi" - EFI boot from an .efi file
+ "u-boot,efi-bootmgr" - EFI boot using boot manager (bootmgr)
+
+
+Example:
+
+ bootstd {
+ compatible = "u-boot,boot-std";
+
+ filename-prefixes = "/", "/boot/";
+ bootdev-order = "mmc2", "mmc1";
+
+ syslinux {
+ compatible = "u-boot,distro-syslinux";
+ };
+
+ efi {
+ compatible = "u-boot,distro-efi";
+ };
+ };