]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Add support for updating elements of the cmdline
authorSimon Glass <sjg@chromium.org>
Wed, 12 Jul 2023 15:04:39 +0000 (09:04 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 05:38:35 +0000 (13:38 +0800)
commit82c0938f1d3befdd7dd1a1bda3b0a02b219abb5d
tree8186a8565ebd54e4ca34459bb41c0b2074d8ee6e
parentd07861cc7aa605a64c83bc7fbe1340bc31b2c2cf
bootstd: Add support for updating elements of the cmdline

Add a bootflow command to update the command line more easily. This allows
changing a particular parameter rather than editing a very long strings.
It is also easier to handle with scripting.

The new 'bootflow cmdline' command allows getting and setting single
parameters.

Fix up the example output while we are here, since there are a few new
items.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
boot/bootflow.c
cmd/bootflow.c
doc/usage/cmd/bootflow.rst
include/bootflow.h
test/boot/bootflow.c