]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: Allow env_attr_walk to pass a priv * to callback
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:19 +0000 (14:27 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 May 2015 13:13:19 +0000 (09:13 -0400)
commitcca98fd6aa111f622be09ffdb5c59684c5e160af
treeb6390d453a085825c1d260dbe69a2433d6f86b77
parent032ea185d644cfe420822dd3dc84734623ffac91
env: Allow env_attr_walk to pass a priv * to callback

In some cases it can be helpful to have context in the callback about
the calling situation. This is needed for following patches.

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