summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-08-01 09:47:12 -0600
committerTom Rini <[email protected]>2019-08-11 16:43:41 -0400
commite7dcf5645f09504573f534b0fc9abbbc6ff8a5ad (patch)
tree26488fce7d5ae4e62adbdcdae9439f51876ace95 /common
parentf030b7b2607013a1b05a696e7f010d5f8dbe4fcd (diff)
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 <[email protected]> Signed-off-by: Simon Glass <[email protected]>
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 4a578f3ef08..84e859a30f4 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 3f54ae02601..5728d43ad3f 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)
{