diff options
author | Simon Glass | 2019-08-01 09:47:12 -0600 |
---|---|---|
committer | Tom Rini | 2019-08-11 16:43:41 -0400 |
commit | e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad (patch) | |
tree | 26488fce7d5ae4e62adbdcdae9439f51876ace95 /drivers | |
parent | f030b7b2607013a1b05a696e7f010d5f8dbe4fcd (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 'drivers')
-rw-r--r-- | drivers/bootcount/bootcount_env.c | 1 | ||||
-rw-r--r-- | drivers/mtd/jedec_flash.c | 1 | ||||
-rw-r--r-- | drivers/net/fec_mxc.c | 1 | ||||
-rw-r--r-- | drivers/net/fm/fm.c | 1 | ||||
-rw-r--r-- | drivers/net/fsl_mcdmafec.c | 1 | ||||
-rw-r--r-- | drivers/net/mcffec.c | 1 | ||||
-rw-r--r-- | drivers/net/ne2000_base.c | 1 | ||||
-rw-r--r-- | drivers/net/sh_eth.c | 1 | ||||
-rw-r--r-- | drivers/net/ti/cpsw-common.c | 1 | ||||
-rw-r--r-- | drivers/qe/qe.c | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/ether.c | 1 |
11 files changed, 0 insertions, 11 deletions
diff --git a/drivers/bootcount/bootcount_env.c b/drivers/bootcount/bootcount_env.c index 50e0857b3bf..b75c9002b2c 100644 --- a/drivers/bootcount/bootcount_env.c +++ b/drivers/bootcount/bootcount_env.c @@ -6,7 +6,6 @@ #include <common.h> #include <env.h> -#include <environment.h> void bootcount_store(ulong a) { diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c index a3540c11152..f59b2bc62fb 100644 --- a/drivers/mtd/jedec_flash.c +++ b/drivers/mtd/jedec_flash.c @@ -15,7 +15,6 @@ #include <asm/processor.h> #include <asm/io.h> #include <asm/byteorder.h> -#include <environment.h> #define P_ID_AMD_STD CFI_CMDSET_AMD_LEGACY diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index a8b141aba2b..080dbcf7db4 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -10,7 +10,6 @@ #include <common.h> #include <dm.h> #include <env.h> -#include <environment.h> #include <malloc.h> #include <memalign.h> #include <miiphy.h> diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c index ce0f1678fd0..4c9dce8dc57 100644 --- a/drivers/net/fm/fm.c +++ b/drivers/net/fm/fm.c @@ -15,7 +15,6 @@ #include <nand.h> #include <spi_flash.h> #include <mmc.h> -#include <environment.h> #ifdef CONFIG_ARM64 #include <asm/armv8/mmu.h> diff --git a/drivers/net/fsl_mcdmafec.c b/drivers/net/fsl_mcdmafec.c index 41752c0b6af..e66fb16de87 100644 --- a/drivers/net/fsl_mcdmafec.c +++ b/drivers/net/fsl_mcdmafec.c @@ -9,7 +9,6 @@ #include <common.h> #include <env.h> -#include <environment.h> #include <malloc.h> #include <command.h> #include <config.h> diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index a8553cbbc2f..fb930412569 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -9,7 +9,6 @@ #include <common.h> #include <env.h> -#include <environment.h> #include <malloc.h> #include <command.h> diff --git a/drivers/net/ne2000_base.c b/drivers/net/ne2000_base.c index 3bc7a35086d..819a2460700 100644 --- a/drivers/net/ne2000_base.c +++ b/drivers/net/ne2000_base.c @@ -75,7 +75,6 @@ Add SNMP #include <common.h> #include <command.h> #include <env.h> -#include <environment.h> #include <net.h> #include <malloc.h> #include <linux/compiler.h> diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index e2ca4749f70..749f6519208 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -11,7 +11,6 @@ #include <config.h> #include <common.h> #include <env.h> -#include <environment.h> #include <malloc.h> #include <net.h> #include <netdev.h> diff --git a/drivers/net/ti/cpsw-common.c b/drivers/net/ti/cpsw-common.c index ac12cfe9b86..21b8bbda3d5 100644 --- a/drivers/net/ti/cpsw-common.c +++ b/drivers/net/ti/cpsw-common.c @@ -7,7 +7,6 @@ #include <common.h> #include <dm.h> -#include <environment.h> #include <fdt_support.h> #include <asm/io.h> #include <cpsw.h> diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 505ae9b45fb..6e4d732a07a 100644 --- a/drivers/qe/qe.c +++ b/drivers/qe/qe.c @@ -14,7 +14,6 @@ #include <linux/immap_qe.h> #include <fsl_qe.h> #include <mmc.h> -#include <environment.h> #ifdef CONFIG_ARCH_LS1021A #include <asm/arch/immap_ls102xa.h> diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index fa49d3126f0..a118283984c 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -10,7 +10,6 @@ #include <common.h> #include <console.h> #include <env.h> -#include <environment.h> #include <linux/errno.h> #include <linux/netdevice.h> #include <linux/usb/ch9.h> |