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:
@@ -7,7 +7,6 @@
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
#include <i2c.h>
|
||||
#include <net.h>
|
||||
#include <linux/mtd/st_smi.h>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
#include <i2c.h>
|
||||
#include <net.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <environment.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <asm/io.h>
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <env.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <linux/err.h>
|
||||
#include <environment.h>
|
||||
#include <asm/arch/mem.h>
|
||||
#include <asm/arch/sm.h>
|
||||
#include <asm/armv8/mmu.h>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <ahci.h>
|
||||
#include <environment.h>
|
||||
#include <spl.h>
|
||||
#include <asm/omap_common.h>
|
||||
#include <asm/arch/omap.h>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <asm/arch/clocks_omap3.h>
|
||||
#include <asm/arch/mem.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <environment.h>
|
||||
#include <command.h>
|
||||
|
||||
/******************************************************************************
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
#include <asm/setup.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/omap_common.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include <clk.h>
|
||||
#include <debug_uart.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
#include <misc.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/stm32.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
#include <fdt_support.h>
|
||||
#include <fdtdec.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <u-boot/zlib.h>
|
||||
#include <bzlib.h>
|
||||
#include <watchdog.h>
|
||||
#include <environment.h>
|
||||
#include <asm/byteorder.h>
|
||||
#ifdef CONFIG_SHOW_BOOT_PROGRESS
|
||||
# include <status_led.h>
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
#include <asm/u-boot-nds32.h>
|
||||
|
||||
#include <environment.h>
|
||||
|
||||
typedef struct bd_info {
|
||||
unsigned long bi_arch_number; /* unique id for this board */
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <environment.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <fdt_support.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <malloc.h>
|
||||
#include <u-boot/zlib.h>
|
||||
#include <bzlib.h>
|
||||
#include <environment.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/mp.h>
|
||||
#include <bootm.h>
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#include <asm/u-boot-riscv.h>
|
||||
|
||||
#include <environment.h>
|
||||
|
||||
typedef struct bd_info {
|
||||
unsigned long bi_boot_params; /* where this board expects params */
|
||||
|
||||
Reference in New Issue
Block a user