aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-24 23:31:06 -0600
committerTom Rini <trini@konsulko.com>2022-04-25 10:00:04 -0400
commitef5e3891f57e6fc863fabbc94b1d7da79d1940bb (patch)
tree194029c9a4a83a48de03dc12c8e2fcc9285816ac /doc
parent9d260253e869bf518e35a97f8a394719bd5149fb (diff)
downloadu-boot-ef5e3891f57e6fc863fabbc94b1d7da79d1940bb.zip
u-boot-ef5e3891f57e6fc863fabbc94b1d7da79d1940bb.tar.gz
u-boot-ef5e3891f57e6fc863fabbc94b1d7da79d1940bb.tar.bz2
bootstd: Add the bootstd uclass and core implementation
The 'bootstd' device provides the central information about U-Boot standard boot. Add a uclass for bootstd and the various helpers needed to make it work. Also add a binding file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/bootstd.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/bootstd.txt b/doc/device-tree-bindings/bootstd.txt
new file mode 100644
index 0000000..f048b9d
--- /dev/null
+++ b/doc/device-tree-bindings/bootstd.txt
@@ -0,0 +1,28 @@
+U-Boot standard boot device (bootstd)
+=====================================
+
+This is the controlling device for U-Boot standard boot, providing a way to
+boot operating systems in a way that can be controlled by distros.
+
+Required properties:
+
+compatible: "u-boot,boot-std"
+
+Optional properties:
+
+filename-prefixes:
+ List of strings, each a directory to search for bootflow files
+
+bootdev-order:
+ List of bootdevs to check for bootflows, each a bootdev label (the media
+ uclass followed by the numeric sequence number of the media device)
+
+
+Example:
+
+ bootstd {
+ compatible = "u-boot,boot-std";
+
+ filename-prefixes = "/", "/boot/";
+ bootdev-order = "mmc2", "mmc1";
+ };