summaryrefslogtreecommitdiff
path: root/cmd
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 /cmd
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 <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/aes.c1
-rw-r--r--cmd/blob.c1
-rw-r--r--cmd/bootm.c1
-rw-r--r--cmd/efidebug.c1
-rw-r--r--cmd/elf.c1
-rw-r--r--cmd/ethsw.c2
-rw-r--r--cmd/i2c.c1
-rw-r--r--cmd/ini.c1
-rw-r--r--cmd/tpm_test.c1
9 files changed, 1 insertions, 9 deletions
diff --git a/cmd/aes.c b/cmd/aes.c
index 25efb9642a2..7ff4a717093 100644
--- a/cmd/aes.c
+++ b/cmd/aes.c
@@ -7,7 +7,6 @@
#include <common.h>
#include <command.h>
-#include <environment.h>
#include <uboot_aes.h>
#include <malloc.h>
#include <asm/byteorder.h>
diff --git a/cmd/blob.c b/cmd/blob.c
index d3b6e454bf4..80478b8802d 100644
--- a/cmd/blob.c
+++ b/cmd/blob.c
@@ -6,7 +6,6 @@
#include <common.h>
#include <command.h>
-#include <environment.h>
#include <malloc.h>
#include <asm/byteorder.h>
#include <linux/compiler.h>
diff --git a/cmd/bootm.c b/cmd/bootm.c
index b326ac9b431..8279f2b7cc6 100644
--- a/cmd/bootm.c
+++ b/cmd/bootm.c
@@ -11,7 +11,6 @@
#include <bootm.h>
#include <command.h>
#include <env.h>
-#include <environment.h>
#include <errno.h>
#include <image.h>
#include <malloc.h>
diff --git a/cmd/efidebug.c b/cmd/efidebug.c
index 961e8fad22b..ef97e19d073 100644
--- a/cmd/efidebug.c
+++ b/cmd/efidebug.c
@@ -9,7 +9,6 @@
#include <common.h>
#include <command.h>
#include <efi_loader.h>
-#include <environment.h>
#include <exports.h>
#include <hexdump.h>
#include <malloc.h>
diff --git a/cmd/elf.c b/cmd/elf.c
index 5e5cf47cf89..538562fda58 100644
--- a/cmd/elf.c
+++ b/cmd/elf.c
@@ -17,7 +17,6 @@
#include <command.h>
#include <elf.h>
#include <env.h>
-#include <environment.h>
#include <net.h>
#include <vxworks.h>
#ifdef CONFIG_X86
diff --git a/cmd/ethsw.c b/cmd/ethsw.c
index 473324f8782..88468057997 100644
--- a/cmd/ethsw.c
+++ b/cmd/ethsw.c
@@ -7,7 +7,7 @@
#include <common.h>
#include <command.h>
-#include <environment.h>
+#include <env.h>
#include <errno.h>
#include <env_flags.h>
#include <ethsw.h>
diff --git a/cmd/i2c.c b/cmd/i2c.c
index 09c4ba9a1c7..e0f8ece597c 100644
--- a/cmd/i2c.c
+++ b/cmd/i2c.c
@@ -71,7 +71,6 @@
#include <console.h>
#include <dm.h>
#include <edid.h>
-#include <environment.h>
#include <errno.h>
#include <i2c.h>
#include <malloc.h>
diff --git a/cmd/ini.c b/cmd/ini.c
index f4faa7cae1b..0c425262d0e 100644
--- a/cmd/ini.c
+++ b/cmd/ini.c
@@ -14,7 +14,6 @@
#include <common.h>
#include <command.h>
#include <env.h>
-#include <environment.h>
#include <linux/ctype.h>
#include <linux/string.h>
diff --git a/cmd/tpm_test.c b/cmd/tpm_test.c
index 56a5aa4aa5e..c14dd75a260 100644
--- a/cmd/tpm_test.c
+++ b/cmd/tpm_test.c
@@ -5,7 +5,6 @@
#include <common.h>
#include <command.h>
-#include <environment.h>
#include <tpm-v1.h>
#include "tpm-user-utils.h"