mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -6,7 +6,6 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
|
||||
void bootcount_store(ulong a)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
#include <malloc.h>
|
||||
#include <command.h>
|
||||
#include <config.h>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
#include <malloc.h>
|
||||
|
||||
#include <command.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <fdt_support.h>
|
||||
#include <asm/io.h>
|
||||
#include <cpsw.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user