]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:43:16 +0000 (22:43 +0200)
commitfe948aeb011c4bb8b110952c004a41fba6abc855
tree69deac8fba7e2869390bce7739fd6872c8aaa6ab
parentae92ca05f16abc252f0aade5445b4fdf7e92f594
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