diff options
| author | Marek Vasut <[email protected]> | 2026-07-19 01:45:48 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2026-07-27 18:50:27 +0200 |
| commit | dc3765ede5a465739740df94e803f92fbbd0514a (patch) | |
| tree | f8a5cce7ff69c5d91dfcf4920bf1bbf25f033c96 /doc/develop/bootstd/overview.rst | |
| parent | 11a9a806f6d5497e48b48698ac762a57e70b2d6f (diff) | |
doc: Switch from setenv to env set
The "env" command is the recommended environment management command,
its "set" subcommand is the equivalent replacement for legacy "setenv"
command. Update the documentation to use the contemporary "env set"
command instead of legacy "setenv" command.
Note that the "setenv" command is unlikely to be removed from U-Boot
in the near future due to it being integral part of the command line
ABI.
Implemented using:
$ sed -i 's@\<setenv\>@env set@g' $(git grep -li '\<setenv\>' doc/) README
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/overview.rst')
| -rw-r--r-- | doc/develop/bootstd/overview.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/develop/bootstd/overview.rst b/doc/develop/bootstd/overview.rst index 397f6db18b4..ec9fafa0fa0 100644 --- a/doc/develop/bootstd/overview.rst +++ b/doc/develop/bootstd/overview.rst @@ -152,7 +152,7 @@ boot_targets This environment variable can be used to control the list of bootdevs searched and their ordering, for example:: - setenv boot_targets "mmc0 mmc1 usb pxe" + env set boot_targets "mmc0 mmc1 usb pxe" Entries may be removed or re-ordered in this list to affect the boot order. If the variable is empty, the default ordering is used, based on the priority of @@ -169,7 +169,7 @@ used by the old distro scripts. This environment variable can be used to control the list of bootmeths used and their ordering for example:: - setenv bootmeths "extlinux efi" + env set bootmeths "extlinux efi" Entries may be removed or re-ordered in this list to affect the order the bootmeths are tried on each bootdev. If the variable is empty, the default |
