]> git.baikalelectronics.ru Git - uboot.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)
commit2454830272a6296b94868b2121abb55a52bc5c80
tree953715e50ae59361b9ecdd71a58dce3403905af6
parented6b038ef2600659af31b56ef0904dcbbf9d6b75
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