]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Add a function to update a command line
authorSimon Glass <sjg@chromium.org>
Wed, 12 Jul 2023 15:04:38 +0000 (09:04 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 05:38:34 +0000 (13:38 +0800)
commitd07861cc7aa605a64c83bc7fbe1340bc31b2c2cf
tree953715e50ae59361b9ecdd71a58dce3403905af6
parent347a845aec18561d36299b0735c47c2b3f45bc71
bootstd: Add a function to update a command line

The Linux command line consists of a number of words with optional values.
At present U-Boot allows this to be changed using the bootargs environment
variable.

But this is quite painful, since the command line can be very long.

Add a function which can adjust a single field in the command line, so
that it is easier to make changes before booting.

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