[U-Boot] [U-Boot, 3/4] cmd: nvedit: set H_INTERACTIVE in do_env_default

Tom Rini trini at konsulko.com
Fri Jul 20 12:35:13 UTC 2018


On Sun, Jun 24, 2018 at 07:16:56PM +0300, Yaniv Levinsky wrote:

> The function set_default_vars() in common.c adds H_INTERACTIVE to the
> h_import() flag, but the function has no way of telling if the command
> actually was user directed like this flag suggest. The flag should be
> set by the calling function do_env_default() in nvedit.c instead, where
> the command is certainty user directed.
> 
> Move the H_INTERACTIVE flag from set_default_vars() to do_env_default().
> 
> Signed-off-by: Yaniv Levinsky <yaniv.levinsky at compulab.co.il>
> Acked-by: Igor Grinberg <grinberg at compulab.co.il>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180720/8430b79a/attachment.sig>


More information about the U-Boot mailing list