]> git.ipfire.org Git - thirdparty/u-boot.git/commit
doc: Switch from setenv to env set
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 18 Jul 2026 23:45:48 +0000 (01:45 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 27 Jul 2026 16:50:27 +0000 (18:50 +0200)
commitdc3765ede5a465739740df94e803f92fbbd0514a
treef8a5cce7ff69c5d91dfcf4920bf1bbf25f033c96
parent11a9a806f6d5497e48b48698ac762a57e70b2d6f
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 <marek.vasut+renesas@mailbox.org>
66 files changed:
README
doc/README.console
doc/README.fsl-ddr
doc/README.iomux
doc/README.link-local
doc/README.marvell
doc/README.odroid
doc/README.serial_multi
doc/README.srio-pcie-boot-corenet
doc/README.update
doc/README.usb
doc/README.video
doc/SPL/README.am335x-network
doc/android/avb2.rst
doc/arch/sandbox/sandbox.rst
doc/arch/x86/manual_boot.rst
doc/board/andestech/ae350.rst
doc/board/bsh/imx6ulz_bsh_smm_m2.rst
doc/board/emulation/qemu-x86.rst
doc/board/intel/slimbootloader.rst
doc/board/microchip/mpfs_common.rst
doc/board/nxp/mx6sabreauto.rst
doc/board/nxp/mx6sabresd.rst
doc/board/renesas/rcar-gen5-ironhide.rst
doc/board/samsung/e850-96.rst
doc/board/sifive/unleashed.rst
doc/board/st/stm32mp1.rst
doc/board/starfive/deepcomputing_fml13v01.rst
doc/board/starfive/milk-v_mars.rst
doc/board/starfive/visionfive2.rst
doc/board/ti/am65x_evm.rst
doc/board/ti/dra7xx_evm.rst
doc/board/ti/ks2_evm.rst
doc/board/tq/tqma6ul.rst
doc/board/xilinx/zynqmp-r5.rst
doc/develop/bootstd/overview.rst
doc/develop/distro.rst
doc/develop/uefi/u-boot_on_efi.rst
doc/develop/uefi/uefi.rst
doc/usage/cmd/bootd.rst
doc/usage/cmd/bootefi.rst
doc/usage/cmd/booti.rst
doc/usage/cmd/bootmenu.rst
doc/usage/cmd/button.rst
doc/usage/cmd/cedit.rst
doc/usage/cmd/coninfo.rst
doc/usage/cmd/echo.rst
doc/usage/cmd/eficonfig.rst
doc/usage/cmd/exit.rst
doc/usage/cmd/extension.rst
doc/usage/cmd/for.rst
doc/usage/cmd/gpt.rst
doc/usage/cmd/imxtract.rst
doc/usage/cmd/mbr.rst
doc/usage/cmd/printenv.rst
doc/usage/cmd/saves.rst
doc/usage/cmd/sntp.rst
doc/usage/cmd/tftpput.rst
doc/usage/cmd/wget.rst
doc/usage/cmdline.rst
doc/usage/dfu.rst
doc/usage/environment.rst
doc/usage/fdt_overlays.rst
doc/usage/fit/beaglebone_vboot.rst
doc/usage/fit/howto.rst
doc/usage/os/plan9.rst