aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:47:12 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commite7dcf5645f09504573f534b0fc9abbbc6ff8a5ad (patch)
tree26488fce7d5ae4e62adbdcdae9439f51876ace95 /common
parentf030b7b2607013a1b05a696e7f010d5f8dbe4fcd (diff)
downloadu-boot-e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad.zip
u-boot-e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad.tar.gz
u-boot-e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad.tar.bz2
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.c1
-rw-r--r--common/spl/spl_dfu.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/common/image.c b/common/image.c
index 4a578f3..84e859a 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 3f54ae0..5728d43 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)
{