diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-01 09:47:12 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 16:43:41 -0400 |
commit | e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad (patch) | |
tree | 26488fce7d5ae4e62adbdcdae9439f51876ace95 /common | |
parent | f030b7b2607013a1b05a696e7f010d5f8dbe4fcd (diff) | |
download | u-boot-e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad.tar.gz |
env: Drop environment.h header file where not needed
This header file is now only used by files that access internal
environment features. Drop it from various places where it is not needed.
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/image.c | 1 | ||||
-rw-r--r-- | common/spl/spl_dfu.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/common/image.c b/common/image.c index 4a578f3ef0..84e859a30f 100644 --- a/common/image.c +++ b/common/image.c @@ -17,7 +17,6 @@ #include <rtc.h> -#include <environment.h> #include <gzip.h> #include <image.h> #include <mapmem.h> diff --git a/common/spl/spl_dfu.c b/common/spl/spl_dfu.c index 3f54ae0260..5728d43ad3 100644 --- a/common/spl/spl_dfu.c +++ b/common/spl/spl_dfu.c @@ -15,7 +15,6 @@ #include <g_dnl.h> #include <usb.h> #include <dfu.h> -#include <environment.h> static int run_dfu(int usb_index, char *interface, char *devstring) { |