]> git.baikalelectronics.ru Git - uboot.git/commit
env: Create a new file for environment functions
authorSimon Glass <sjg@chromium.org>
Thu, 1 Aug 2019 15:46:40 +0000 (09:46 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
commit26ed69108624941c319d3e512dec44f10ce663a0
tree023ea936c7cabe544c914b0884caa789c3d85d49
parentaed8356e594559ab8e47556912ea276c473b3b25
env: Create a new file for environment functions

At present we have environment.h but this file includes all the
environment-related header files as well as internals such as
default_environment.

It seems desirable to have a new header to hold the commonly used
environment functions, so that most files can avoid including all of this
unnecessary stuff.

Create a new env.h header and move one function over to it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
common/command.c
include/common.h
include/env.h [new file with mode: 0644]