summaryrefslogtreecommitdiff
path: root/doc/usage
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-10-22 06:08:52 +0300
committerTom Rini <trini@konsulko.com>2021-11-16 22:35:09 +0300
commit78398652723b6fe743751ffb19d8256b7e3e0a4e (patch)
tree9e86d3aeaf5e46cd0e23bbb8bfc0e6e5406617e0 /doc/usage
parent1d192d5bccc6e4b9e7112f720ccc47786694ee39 (diff)
downloadu-boot-78398652723b6fe743751ffb19d8256b7e3e0a4e.tar.xz
bootm: Tidy up use of autostart env var
This has different semantics in different places. Go with the bootm method and put it in a common function so that the behaviour is consistent in U-Boot. Update the docs. To be clear, this changes the way that 'bootelf' and standalone boot work. Before, if autostart was set to "fred" or "YES", for example, they would consider that a "yes". This may change behaviour for some boards, but the only in-tree boards which mention autostart use "no" to disable it, which will still work. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'doc/usage')
-rw-r--r--doc/usage/environment.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/usage/environment.rst b/doc/usage/environment.rst
index 8ddc672d46..d295cc8987 100644
--- a/doc/usage/environment.rst
+++ b/doc/usage/environment.rst
@@ -179,8 +179,9 @@ autostart
be automatically started (by internally calling
"bootm")
- If set to "no", a standalone image passed to the
- "bootm" command will be copied to the load address
+ If unset, or set to "1"/"yes"/"true" (case insensitive, just the first
+ character is enough), a standalone image
+ passed to the "bootm" command will be copied to the load address
(and eventually uncompressed), but NOT be started.
This can be used to load and uncompress arbitrary
data.