]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Use the bootargs env var for changing the cmdline
authorSimon Glass <sjg@chromium.org>
Wed, 12 Jul 2023 15:04:35 +0000 (09:04 -0600)
committerBin Meng <bmeng@tinylab.org>
Sun, 16 Jul 2023 15:13:17 +0000 (23:13 +0800)
commitd42243fe21c8847cd5c6db4e11b2aee660448451
tree194d2faca5744bb699ebb5819cedc4d28ab78fb4
parentf4a91655c36a1a5fad2ea879ff3ab9217cd21337
bootstd: Use the bootargs env var for changing the cmdline

The "bootargs" environment variable is used to set the command-line
arguments to pass to the OS. Use this same mechanism with bootstd as well.
When the variable is updated, it is written to the current bootflow. When
the current bootflow is updated, the environment variable is updated too.

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