]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootflow: Allow setting a cmdline arg with no value
authorSimon Glass <sjg@chromium.org>
Wed, 29 Nov 2023 17:31:19 +0000 (10:31 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 20 Dec 2023 15:46:54 +0000 (10:46 -0500)
commit921f63e5723880bbbaf65429564e5638b7bbd002
treef8738614700e43d3d3922b3e41c15c5f5426bb17
parent7481632b192f61b5bcb028c885a460d8b9c2731c
bootflow: Allow setting a cmdline arg with no value

This is supposed to be supported by the 'bootflow cmd' command, at
least according to the help. There is a 'bootflow cmd clear' but it is
often more intuitive to use 'bootcmd cmd set' with an empty value.

Update the command to pass BOOTFLOWCL_EMPTY in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/bootflow.c
test/boot/bootflow.c