]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: host: Mandate the filename parameter in the 'bind' command
authorBin Meng <bmeng@tinylab.org>
Tue, 26 Sep 2023 08:43:32 +0000 (16:43 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 10 Oct 2023 20:19:29 +0000 (16:19 -0400)
commit77ca9d74571e92969591d39df134ccd72296f4d9
tree8d711647280c41b8d04aaf11c2dbf5bb29bee3f9
parent7020b2eca49e2c902bb443273ba21df2050d7f1e
cmd: host: Mandate the filename parameter in the 'bind' command

At present the host bind command does not require filename to be
provided. When it is not given NULL is passed to the host device
driver, which ends up failure afterwards.

Change to mandate the filename so that it is useful.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/host.c