]> git.baikalelectronics.ru Git - uboot.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)
commitaeefa684293392475a26ad0aa54e8b83b32113e6
tree194d2faca5744bb699ebb5819cedc4d28ab78fb4
parent49933c7581564d660dd8beff7cd09d99987ac880
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