diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-01 09:47:12 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 16:43:41 -0400 |
commit | e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad (patch) | |
tree | 26488fce7d5ae4e62adbdcdae9439f51876ace95 /arch | |
parent | f030b7b2607013a1b05a696e7f010d5f8dbe4fcd (diff) | |
download | u-boot-e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad.tar.gz |
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 'arch')
-rw-r--r-- | arch/arm/cpu/arm926ejs/spear/spr_misc.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-davinci/misc.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-imx/cmd_dek.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-imx/mx6/opos6ul.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-meson/board-common.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/boot-common.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap3/clock.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/utils.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-stm32mp/cpu.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-tegra/cboot.c | 1 | ||||
-rw-r--r-- | arch/m68k/lib/bootm.c | 1 | ||||
-rw-r--r-- | arch/nds32/include/asm/u-boot.h | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/fdt.c | 1 | ||||
-rw-r--r-- | arch/powerpc/lib/bootm.c | 1 | ||||
-rw-r--r-- | arch/riscv/include/asm/u-boot.h | 1 |
15 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/cpu/arm926ejs/spear/spr_misc.c b/arch/arm/cpu/arm926ejs/spear/spr_misc.c index 533268513e..d36484c9d6 100644 --- a/arch/arm/cpu/arm926ejs/spear/spr_misc.c +++ b/arch/arm/cpu/arm926ejs/spear/spr_misc.c @@ -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> diff --git a/arch/arm/mach-davinci/misc.c b/arch/arm/mach-davinci/misc.c index b310bc7293..80e964274e 100644 --- a/arch/arm/mach-davinci/misc.c +++ b/arch/arm/mach-davinci/misc.c @@ -10,7 +10,6 @@ #include <common.h> #include <env.h> -#include <environment.h> #include <i2c.h> #include <net.h> #include <asm/arch/hardware.h> diff --git a/arch/arm/mach-imx/cmd_dek.c b/arch/arm/mach-imx/cmd_dek.c index 463b869420..1b111ba26b 100644 --- a/arch/arm/mach-imx/cmd_dek.c +++ b/arch/arm/mach-imx/cmd_dek.c @@ -7,7 +7,6 @@ #include <common.h> #include <command.h> -#include <environment.h> #include <malloc.h> #include <asm/byteorder.h> #include <linux/compiler.h> diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-imx/mx6/opos6ul.c index 183a0c961c..3ab9a3f022 100644 --- a/arch/arm/mach-imx/mx6/opos6ul.c +++ b/arch/arm/mach-imx/mx6/opos6ul.c @@ -14,7 +14,6 @@ #include <asm/io.h> #include <common.h> #include <env.h> -#include <environment.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-meson/board-common.c b/arch/arm/mach-meson/board-common.c index 08a7aae2b9..0843dca156 100644 --- a/arch/arm/mach-meson/board-common.c +++ b/arch/arm/mach-meson/board-common.c @@ -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> diff --git a/arch/arm/mach-omap2/boot-common.c b/arch/arm/mach-omap2/boot-common.c index c8b8ac657f..eb8c5843fa 100644 --- a/arch/arm/mach-omap2/boot-common.c +++ b/arch/arm/mach-omap2/boot-common.c @@ -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> diff --git a/arch/arm/mach-omap2/omap3/clock.c b/arch/arm/mach-omap2/omap3/clock.c index cb9e91ebc3..71f73492c6 100644 --- a/arch/arm/mach-omap2/omap3/clock.c +++ b/arch/arm/mach-omap2/omap3/clock.c @@ -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> /****************************************************************************** diff --git a/arch/arm/mach-omap2/utils.c b/arch/arm/mach-omap2/utils.c index 5478416e9c..0d5ca20e8e 100644 --- a/arch/arm/mach-omap2/utils.c +++ b/arch/arm/mach-omap2/utils.c @@ -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> diff --git a/arch/arm/mach-stm32mp/cpu.c b/arch/arm/mach-stm32mp/cpu.c index b06b84c315..a46e8438f7 100644 --- a/arch/arm/mach-stm32mp/cpu.c +++ b/arch/arm/mach-stm32mp/cpu.c @@ -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> diff --git a/arch/arm/mach-tegra/cboot.c b/arch/arm/mach-tegra/cboot.c index bd4f33686d..0433081c6c 100644 --- a/arch/arm/mach-tegra/cboot.c +++ b/arch/arm/mach-tegra/cboot.c @@ -5,7 +5,6 @@ #include <common.h> #include <env.h> -#include <environment.h> #include <fdt_support.h> #include <fdtdec.h> #include <stdlib.h> diff --git a/arch/m68k/lib/bootm.c b/arch/m68k/lib/bootm.c index 5b7a68b250..19445b3fc7 100644 --- a/arch/m68k/lib/bootm.c +++ b/arch/m68k/lib/bootm.c @@ -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> diff --git a/arch/nds32/include/asm/u-boot.h b/arch/nds32/include/asm/u-boot.h index 68701d6da9..8c949e7fb7 100644 --- a/arch/nds32/include/asm/u-boot.h +++ b/arch/nds32/include/asm/u-boot.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 */ diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c index d17c382cc9..db12aefb29 100644 --- a/arch/powerpc/cpu/mpc85xx/fdt.c +++ b/arch/powerpc/cpu/mpc85xx/fdt.c @@ -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> diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c index 52bcd4e6f1..84691b7554 100644 --- a/arch/powerpc/lib/bootm.c +++ b/arch/powerpc/lib/bootm.c @@ -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> diff --git a/arch/riscv/include/asm/u-boot.h b/arch/riscv/include/asm/u-boot.h index 3186835e0a..5ba8e77812 100644 --- a/arch/riscv/include/asm/u-boot.h +++ b/arch/riscv/include/asm/u-boot.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 */ |