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>
This commit is contained in:
Simon Glass
2019-08-01 09:47:12 -06:00
committed by Tom Rini
parent f030b7b260
commit e7dcf5645f
116 changed files with 1 additions and 116 deletions

View File

@@ -6,7 +6,6 @@
#include <common.h>
#include <env.h>
#include <environment.h>
void bootcount_store(ulong a)
{

View File

@@ -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

View File

@@ -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>

View File

@@ -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>

View File

@@ -9,7 +9,6 @@
#include <common.h>
#include <env.h>
#include <environment.h>
#include <malloc.h>
#include <command.h>
#include <config.h>

View File

@@ -9,7 +9,6 @@
#include <common.h>
#include <env.h>
#include <environment.h>
#include <malloc.h>
#include <command.h>

View File

@@ -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>

View File

@@ -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>

View File

@@ -7,7 +7,6 @@
#include <common.h>
#include <dm.h>
#include <environment.h>
#include <fdt_support.h>
#include <asm/io.h>
#include <cpsw.h>

View File

@@ -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>

View File

@@ -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>