]> git.ipfire.org Git - thirdparty/u-boot.git/commit - cmd/nvedit.c
env: Distinguish finer between source of env change
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:21 +0000 (14:27 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 May 2015 13:13:19 +0000 (09:13 -0400)
commit94b467b14ed908c89a0780256e89b375aa3cf3ef
tree071d2d605f83795ebf96cb86f51664b6c790a799
parentbdf1fe4e68b0d240f0ee666ea9d92d3f42f1a23f
env: Distinguish finer between source of env change

We already could tell the difference in the callback between an import
and "other" which we called interactive. Now add further distinction
between interactive (i.e. running env set / env edit / env ask / etc.
from the U-Boot command line) and programmatic (i.e. when u-boot source
calls any variant of setenv() ).

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cmd_nvedit.c
include/search.h