Browse Source

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>
Simon Glass 4 years ago
parent
commit
e7dcf5645f
100 changed files with 1 additions and 100 deletions
  1. 0 1
      arch/arm/cpu/arm926ejs/spear/spr_misc.c
  2. 0 1
      arch/arm/mach-davinci/misc.c
  3. 0 1
      arch/arm/mach-imx/cmd_dek.c
  4. 0 1
      arch/arm/mach-imx/mx6/opos6ul.c
  5. 0 1
      arch/arm/mach-meson/board-common.c
  6. 0 1
      arch/arm/mach-omap2/boot-common.c
  7. 0 1
      arch/arm/mach-omap2/omap3/clock.c
  8. 0 1
      arch/arm/mach-omap2/utils.c
  9. 0 1
      arch/arm/mach-stm32mp/cpu.c
  10. 0 1
      arch/arm/mach-tegra/cboot.c
  11. 0 1
      arch/m68k/lib/bootm.c
  12. 0 1
      arch/nds32/include/asm/u-boot.h
  13. 0 1
      arch/powerpc/cpu/mpc85xx/fdt.c
  14. 0 1
      arch/powerpc/lib/bootm.c
  15. 0 1
      arch/riscv/include/asm/u-boot.h
  16. 0 1
      board/Arcturus/ucp1020/cmd_arc.c
  17. 0 1
      board/CZ.NIC/turris_mox/turris_mox.c
  18. 0 1
      board/CZ.NIC/turris_omnia/turris_omnia.c
  19. 0 1
      board/LaCie/net2big_v2/net2big_v2.c
  20. 0 1
      board/LaCie/netspace_v2/netspace_v2.c
  21. 0 1
      board/amlogic/p200/p200.c
  22. 0 1
      board/amlogic/p201/p201.c
  23. 0 1
      board/amlogic/p212/p212.c
  24. 0 1
      board/amlogic/q200/q200.c
  25. 0 1
      board/amlogic/s400/s400.c
  26. 0 1
      board/amlogic/u200/u200.c
  27. 0 1
      board/armadeus/apf27/apf27.c
  28. 0 1
      board/atmel/common/mac_eeprom.c
  29. 0 1
      board/birdland/bav335x/board.c
  30. 0 1
      board/bosch/guardian/board.c
  31. 0 1
      board/bosch/shc/board.c
  32. 0 1
      board/compulab/cl-som-imx7/cl-som-imx7.c
  33. 0 1
      board/compulab/cm_fx6/cm_fx6.c
  34. 0 1
      board/compulab/cm_t335/cm_t335.c
  35. 0 1
      board/compulab/cm_t35/cm_t35.c
  36. 0 1
      board/compulab/cm_t54/cm_t54.c
  37. 0 1
      board/davinci/da8xxevm/da850evm.c
  38. 0 1
      board/dhelectronics/dh_imx6/dh_imx6.c
  39. 0 1
      board/eets/pdu001/board.c
  40. 0 1
      board/freescale/imx8qm_mek/imx8qm_mek.c
  41. 0 1
      board/freescale/imx8qxp_mek/imx8qxp_mek.c
  42. 0 1
      board/gateworks/gw_ventana/gw_ventana.c
  43. 0 1
      board/gateworks/gw_ventana/gw_ventana_spl.c
  44. 0 1
      board/ge/mx53ppd/mx53ppd.c
  45. 0 1
      board/grinn/chiliboard/board.c
  46. 0 1
      board/gumstix/pepper/board.c
  47. 0 1
      board/imgtec/ci20/ci20.c
  48. 0 1
      board/intel/edison/edison.c
  49. 0 1
      board/isee/igep003x/board.c
  50. 0 1
      board/k+p/kp_imx53/kp_id_rev.c
  51. 0 1
      board/kosagi/novena/novena.c
  52. 0 1
      board/liebherr/display5/display5.c
  53. 0 1
      board/liebherr/display5/spl.c
  54. 0 1
      board/logicpd/zoom1/zoom1.c
  55. 0 1
      board/mscc/ocelot/ocelot.c
  56. 0 1
      board/nvidia/p2371-2180/p2371-2180.c
  57. 0 1
      board/nvidia/p2771-0000/p2771-0000.c
  58. 0 1
      board/phytec/pcm051/board.c
  59. 0 1
      board/phytec/pcm052/pcm052.c
  60. 0 1
      board/phytec/phycore_rk3288/phycore-rk3288.c
  61. 0 1
      board/qualcomm/dragonboard410c/dragonboard410c.c
  62. 0 1
      board/raspberrypi/rpi/rpi.c
  63. 0 1
      board/renesas/blanche/blanche.c
  64. 0 1
      board/renesas/sh7752evb/sh7752evb.c
  65. 0 1
      board/renesas/sh7753evb/sh7753evb.c
  66. 0 1
      board/renesas/sh7757lcr/sh7757lcr.c
  67. 0 1
      board/rockchip/tinker_rk3288/tinker-rk3288.c
  68. 0 1
      board/samtec/vining_fpga/socfpga.c
  69. 0 1
      board/siemens/common/factoryset.c
  70. 0 1
      board/siemens/pxm2/board.c
  71. 0 1
      board/siemens/taurus/taurus.c
  72. 0 1
      board/silica/pengwyn/board.c
  73. 0 1
      board/softing/vining_2000/vining_2000.c
  74. 0 1
      board/tcl/sl50/board.c
  75. 0 1
      board/technologic/ts4800/ts4800.c
  76. 0 1
      board/theobroma-systems/puma_rk3399/puma-rk3399.c
  77. 0 1
      board/ti/am335x/board.c
  78. 0 1
      board/ti/am43xx/board.c
  79. 0 1
      board/ti/am57xx/board.c
  80. 0 1
      board/ti/dra7xx/evm.c
  81. 0 1
      board/ti/ti814x/evm.c
  82. 0 1
      board/ti/ti816x/evm.c
  83. 0 1
      board/timll/devkit8000/devkit8000.c
  84. 0 1
      board/toradex/apalis-imx8/apalis-imx8.c
  85. 0 1
      board/toradex/apalis_imx6/apalis_imx6.c
  86. 0 1
      board/toradex/colibri-imx8x/colibri-imx8x.c
  87. 0 1
      board/toradex/colibri_imx6/colibri_imx6.c
  88. 0 1
      board/toradex/common/tdx-common.c
  89. 0 1
      board/vscom/baltos/board.c
  90. 0 1
      cmd/aes.c
  91. 0 1
      cmd/blob.c
  92. 0 1
      cmd/bootm.c
  93. 0 1
      cmd/efidebug.c
  94. 0 1
      cmd/elf.c
  95. 1 1
      cmd/ethsw.c
  96. 0 1
      cmd/i2c.c
  97. 0 1
      cmd/ini.c
  98. 0 1
      cmd/tpm_test.c
  99. 0 1
      common/image.c
  100. 0 1
      common/spl/spl_dfu.c

+ 0 - 1
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>

+ 0 - 1
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>

+ 0 - 1
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>

+ 0 - 1
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;
 

+ 0 - 1
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>

+ 0 - 1
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>

+ 0 - 1
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>
 
 /******************************************************************************

+ 0 - 1
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>

+ 0 - 1
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>

+ 0 - 1
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>

+ 0 - 1
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>

+ 0 - 1
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 */

+ 0 - 1
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>

+ 0 - 1
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>

+ 0 - 1
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 */

+ 0 - 1
board/Arcturus/ucp1020/cmd_arc.c

@@ -15,7 +15,6 @@
 #include <spi_flash.h>
 #include <mmc.h>
 #include <version.h>
-#include <environment.h>
 #include <asm/io.h>
 
 static ulong fwenv_addr[MAX_FWENV_ADDR];

+ 0 - 1
board/CZ.NIC/turris_mox/turris_mox.c

@@ -15,7 +15,6 @@
 #include <linux/string.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
-#include <environment.h>
 
 #include "mox_sp.h"
 

+ 0 - 1
board/CZ.NIC/turris_omnia/turris_omnia.c

@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <miiphy.h>
 #include <netdev.h>

+ 0 - 1
board/LaCie/net2big_v2/net2big_v2.c

@@ -11,7 +11,6 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <asm/mach-types.h>
 #include <asm/arch/cpu.h>

+ 0 - 1
board/LaCie/netspace_v2/netspace_v2.c

@@ -11,7 +11,6 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
-#include <environment.h>
 #include <asm/mach-types.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>

+ 0 - 1
board/amlogic/p200/p200.c

@@ -6,7 +6,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <asm/io.h>
 #include <asm/arch/gx.h>
 #include <asm/arch/sm.h>

+ 0 - 1
board/amlogic/p201/p201.c

@@ -6,7 +6,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <asm/io.h>
 #include <asm/arch/gx.h>
 #include <asm/arch/sm.h>

+ 0 - 1
board/amlogic/p212/p212.c

@@ -7,7 +7,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <asm/io.h>
 #include <asm/arch/gx.h>
 #include <asm/arch/sm.h>

+ 0 - 1
board/amlogic/q200/q200.c

@@ -7,7 +7,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <asm/io.h>
 #include <asm/arch/gx.h>
 #include <asm/arch/mem.h>

+ 0 - 1
board/amlogic/s400/s400.c

@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <environment.h>
 #include <asm/io.h>
 #include <asm/arch/axg.h>
 #include <asm/arch/sm.h>

+ 0 - 1
board/amlogic/u200/u200.c

@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <environment.h>
 #include <asm/io.h>
 #include <asm/arch/axg.h>
 #include <asm/arch/sm.h>

+ 0 - 1
board/armadeus/apf27/apf27.c

@@ -7,7 +7,6 @@
  */
 
 #include <common.h>
-#include <environment.h>
 #include <jffs2/jffs2.h>
 #include <nand.h>
 #include <netdev.h>

+ 0 - 1
board/atmel/common/mac_eeprom.c

@@ -7,7 +7,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c_eeprom.h>
 #include <netdev.h>
 

+ 0 - 1
board/birdland/bav335x/board.c

@@ -30,7 +30,6 @@
 #include <power/tps65910.h>
 #include <environment.h>
 #include <watchdog.h>
-#include <environment.h>
 #include "board.h"
 
 DECLARE_GLOBAL_DATA_PTR;

+ 0 - 1
board/bosch/guardian/board.c

@@ -12,7 +12,6 @@
 #include <cpsw.h>
 #include <dm.h>
 #include <environment.h>
-#include <environment.h>
 #include <errno.h>
 #include <i2c.h>
 #include <miiphy.h>

+ 0 - 1
board/bosch/shc/board.c

@@ -33,7 +33,6 @@
 #include <power/tps65217.h>
 #include <environment.h>
 #include <watchdog.h>
-#include <environment.h>
 #include "mmc.h"
 #include "board.h"
 

+ 0 - 1
board/compulab/cl-som-imx7/cl-som-imx7.c

@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <mmc.h>
 #include <phy.h>
 #include <netdev.h>

+ 0 - 1
board/compulab/cm_fx6/cm_fx6.c

@@ -12,7 +12,6 @@
 #include <dm.h>
 #include <dwc_ahsata.h>
 #include <env.h>
-#include <environment.h>
 #include <fsl_esdhc_imx.h>
 #include <miiphy.h>
 #include <mtd_node.h>

+ 0 - 1
board/compulab/cm_t335/cm_t335.c

@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <miiphy.h>
 #include <cpsw.h>

+ 0 - 1
board/compulab/cm_t35/cm_t35.c

@@ -13,7 +13,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <status_led.h>
 #include <netdev.h>
 #include <net.h>

+ 0 - 1
board/compulab/cm_t54/cm_t54.c

@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <fdt_support.h>
 #include <usb.h>
 #include <mmc.h>

+ 0 - 1
board/davinci/da8xxevm/da850evm.c

@@ -11,7 +11,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <net.h>
 #include <spi.h>

+ 0 - 1
board/dhelectronics/dh_imx6/dh_imx6.c

@@ -22,7 +22,6 @@
 #include <ahci.h>
 #include <dwc_ahsata.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <fsl_esdhc_imx.h>
 #include <fuse.h>

+ 0 - 1
board/eets/pdu001/board.c

@@ -14,7 +14,6 @@
 #include <errno.h>
 #include <spl.h>
 #include <i2c.h>
-#include <environment.h>
 #include <watchdog.h>
 #include <debug_uart.h>
 #include <dm/ofnode.h>

+ 0 - 1
board/freescale/imx8qm_mek/imx8qm_mek.c

@@ -7,7 +7,6 @@
 #include <env.h>
 #include <errno.h>
 #include <linux/libfdt.h>
-#include <environment.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/arch/clock.h>

+ 0 - 1
board/freescale/imx8qxp_mek/imx8qxp_mek.c

@@ -7,7 +7,6 @@
 #include <env.h>
 #include <errno.h>
 #include <linux/libfdt.h>
-#include <environment.h>
 #include <fsl_esdhc_imx.h>
 #include <asm/io.h>
 #include <asm/gpio.h>

+ 0 - 1
board/gateworks/gw_ventana/gw_ventana.c

@@ -22,7 +22,6 @@
 #include <dm.h>
 #include <dm/platform_data/serial_mxc.h>
 #include <env.h>
-#include <environment.h>
 #include <hwconfig.h>
 #include <i2c.h>
 #include <fdt_support.h>

+ 0 - 1
board/gateworks/gw_ventana/gw_ventana_spl.c

@@ -15,7 +15,6 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/mxc_i2c.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <spl.h>
 

+ 0 - 1
board/ge/mx53ppd/mx53ppd.c

@@ -21,7 +21,6 @@
 #include <linux/libfdt.h>
 #include <asm/mach-imx/mxc_i2c.h>
 #include <asm/mach-imx/mx5_video.h>
-#include <environment.h>
 #include <netdev.h>
 #include <i2c.h>
 #include <mmc.h>

+ 0 - 1
board/grinn/chiliboard/board.c

@@ -17,7 +17,6 @@
 #include <asm/io.h>
 #include <cpsw.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <miiphy.h>
 #include <spl.h>

+ 0 - 1
board/gumstix/pepper/board.c

@@ -26,7 +26,6 @@
 #include <miiphy.h>
 #include <cpsw.h>
 #include <power/tps65217.h>
-#include <environment.h>
 #include <watchdog.h>
 #include "board.h"
 

+ 0 - 1
board/imgtec/ci20/ci20.c

@@ -8,7 +8,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/io.h>

+ 0 - 1
board/intel/edison/edison.c

@@ -5,7 +5,6 @@
 #include <common.h>
 #include <dwc3-uboot.h>
 #include <env.h>
-#include <environment.h>
 #include <mmc.h>
 #include <u-boot/md5.h>
 #include <usb.h>

+ 0 - 1
board/isee/igep003x/board.c

@@ -26,7 +26,6 @@
 #include <fdt_support.h>
 #include <mtd_node.h>
 #include <jffs2/load_kernel.h>
-#include <environment.h>
 #include "board.h"
 
 DECLARE_GLOBAL_DATA_PTR;

+ 0 - 1
board/k+p/kp_imx53/kp_id_rev.c

@@ -11,7 +11,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include "kp_id_rev.h"
 

+ 0 - 1
board/kosagi/novena/novena.c

@@ -25,7 +25,6 @@
 #include <asm/mach-imx/sata.h>
 #include <asm/mach-imx/video.h>
 #include <dwc_ahsata.h>
-#include <environment.h>
 #include <fsl_esdhc_imx.h>
 #include <i2c.h>
 #include <input.h>

+ 0 - 1
board/liebherr/display5/display5.c

@@ -26,7 +26,6 @@
 #include <miiphy.h>
 #include <netdev.h>
 #include <i2c.h>
-#include <environment.h>
 
 #include <dm.h>
 #include <dm/platform_data/serial_mxc.h>

+ 0 - 1
board/liebherr/display5/spl.c

@@ -18,7 +18,6 @@
 #include "asm/arch/iomux.h"
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/gpio.h>
-#include <environment.h>
 #include <fsl_esdhc_imx.h>
 #include <netdev.h>
 #include <bootcount.h>

+ 0 - 1
board/logicpd/zoom1/zoom1.c

@@ -16,7 +16,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <ns16550.h>
 #include <netdev.h>
 #include <twl4030.h>

+ 0 - 1
board/mscc/ocelot/ocelot.c

@@ -7,7 +7,6 @@
 #include <asm/io.h>
 #include <asm/addrspace.h>
 #include <asm/types.h>
-#include <environment.h>
 #include <spi.h>
 #include <led.h>
 #include <wait_bit.h>

+ 0 - 1
board/nvidia/p2371-2180/p2371-2180.c

@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <fdtdec.h>
 #include <i2c.h>
 #include <linux/libfdt.h>

+ 0 - 1
board/nvidia/p2771-0000/p2771-0000.c

@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <fdtdec.h>
 #include <i2c.h>
 #include <linux/libfdt.h>

+ 0 - 1
board/phytec/pcm051/board.c

@@ -10,7 +10,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>

+ 0 - 1
board/phytec/pcm052/pcm052.c

@@ -15,7 +15,6 @@
 #include <asm/arch/clock.h>
 #include <env.h>
 #include <led.h>
-#include <environment.h>
 #include <miiphy.h>
 
 DECLARE_GLOBAL_DATA_PTR;

+ 0 - 1
board/phytec/phycore_rk3288/phycore-rk3288.c

@@ -9,7 +9,6 @@
 #include <dm.h>
 #include <env.h>
 #include <environment.h>
-#include <fdtdec.h>
 #include <i2c.h>
 #include <i2c_eeprom.h>
 #include <netdev.h>

+ 0 - 1
board/qualcomm/dragonboard410c/dragonboard410c.c

@@ -11,7 +11,6 @@
 #include <usb.h>
 #include <asm/gpio.h>
 #include <fdt_support.h>
-#include <environment.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/misc.h>
 

+ 0 - 1
board/raspberrypi/rpi/rpi.c

@@ -7,7 +7,6 @@
 #include <config.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <efi_loader.h>
 #include <fdt_support.h>
 #include <fdt_simplefb.h>

+ 0 - 1
board/renesas/blanche/blanche.c

@@ -19,7 +19,6 @@
 #include <dm.h>
 #include <dm/platform_data/serial_sh.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <linux/errno.h>
 #include <malloc.h>

+ 0 - 1
board/renesas/sh7752evb/sh7752evb.c

@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <malloc.h>
 #include <asm/processor.h>
 #include <asm/io.h>

+ 0 - 1
board/renesas/sh7753evb/sh7753evb.c

@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <malloc.h>
 #include <asm/processor.h>
 #include <asm/io.h>

+ 0 - 1
board/renesas/sh7757lcr/sh7757lcr.c

@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <malloc.h>
 #include <asm/processor.h>
 #include <asm/io.h>

+ 0 - 1
board/rockchip/tinker_rk3288/tinker-rk3288.c

@@ -6,7 +6,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c_eeprom.h>
 #include <netdev.h>
 

+ 0 - 1
board/samtec/vining_fpga/socfpga.c

@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <asm/arch/reset_manager.h>
 #include <asm/io.h>
 #include <asm/gpio.h>

+ 0 - 1
board/siemens/common/factoryset.c

@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>

+ 0 - 1
board/siemens/pxm2/board.c

@@ -14,7 +14,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>

+ 0 - 1
board/siemens/taurus/taurus.c

@@ -15,7 +15,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <asm/io.h>
 #include <asm/arch/at91sam9260_matrix.h>
 #include <asm/arch/at91sam9_smc.h>

+ 0 - 1
board/silica/pengwyn/board.c

@@ -7,7 +7,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/ddr_defs.h>

+ 0 - 1
board/softing/vining_2000/vining_2000.c

@@ -19,7 +19,6 @@
 #include <env.h>
 #include <linux/sizes.h>
 #include <common.h>
-#include <environment.h>
 #include <fsl_esdhc_imx.h>
 #include <mmc.h>
 #include <i2c.h>

+ 0 - 1
board/tcl/sl50/board.c

@@ -30,7 +30,6 @@
 #include <power/tps65910.h>
 #include <environment.h>
 #include <watchdog.h>
-#include <environment.h>
 #include "board.h"
 
 DECLARE_GLOBAL_DATA_PTR;

+ 0 - 1
board/technologic/ts4800/ts4800.c

@@ -17,7 +17,6 @@
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/clock.h>
 #include <asm/mach-imx/mx5_video.h>
-#include <environment.h>
 #include <mmc.h>
 #include <input.h>
 #include <fsl_esdhc_imx.h>

+ 0 - 1
board/theobroma-systems/puma_rk3399/puma-rk3399.c

@@ -6,7 +6,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <misc.h>
 #include <spl.h>
 #include <syscon.h>

+ 0 - 1
board/ti/am335x/board.c

@@ -36,7 +36,6 @@
 #include <power/tps65910.h>
 #include <environment.h>
 #include <watchdog.h>
-#include <environment.h>
 #include "../common/board_detect.h"
 #include "board.h"
 

+ 0 - 1
board/ti/am43xx/board.c

@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <linux/errno.h>
 #include <spl.h>

+ 0 - 1
board/ti/am57xx/board.c

@@ -24,7 +24,6 @@
 #include <asm/arch/sata.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/omap.h>
-#include <environment.h>
 #include <usb.h>
 #include <linux/usb/gadget.h>
 #include <dwc3-uboot.h>

+ 0 - 1
board/ti/dra7xx/evm.c

@@ -25,7 +25,6 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/mmc_host_def.h>
 #include <asm/arch/sata.h>
-#include <environment.h>
 #include <dwc3-uboot.h>
 #include <dwc3-omap-uboot.h>
 #include <i2c.h>

+ 0 - 1
board/ti/ti814x/evm.c

@@ -10,7 +10,6 @@
 #include <common.h>
 #include <cpsw.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>

+ 0 - 1
board/ti/ti816x/evm.c

@@ -8,7 +8,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <spl.h>
 #include <asm/cache.h>
 #include <asm/io.h>

+ 0 - 1
board/timll/devkit8000/devkit8000.c

@@ -18,7 +18,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <ns16550.h>
 #include <twl4030.h>
 #include <asm/io.h>

+ 0 - 1
board/toradex/apalis-imx8/apalis-imx8.c

@@ -13,7 +13,6 @@
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <linux/libfdt.h>
 

+ 0 - 1
board/toradex/apalis_imx6/apalis_imx6.c

@@ -27,7 +27,6 @@
 #include <dm/platform_data/serial_mxc.h>
 #include <dwc_ahsata.h>
 #include <env.h>
-#include <environment.h>
 #include <fsl_esdhc_imx.h>
 #include <imx_thermal.h>
 #include <micrel.h>

+ 0 - 1
board/toradex/colibri-imx8x/colibri-imx8x.c

@@ -13,7 +13,6 @@
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <linux/libfdt.h>
 

+ 0 - 1
board/toradex/colibri_imx6/colibri_imx6.c

@@ -25,7 +25,6 @@
 #include <asm/mach-imx/video.h>
 #include <cpu.h>
 #include <dm/platform_data/serial_mxc.h>
-#include <environment.h>
 #include <fsl_esdhc_imx.h>
 #include <imx_thermal.h>
 #include <micrel.h>

+ 0 - 1
board/toradex/common/tdx-common.c

@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <g_dnl.h>
 #include <linux/libfdt.h>
 

+ 0 - 1
board/vscom/baltos/board.c

@@ -29,7 +29,6 @@
 #include <miiphy.h>
 #include <cpsw.h>
 #include <power/tps65910.h>
-#include <environment.h>
 #include <watchdog.h>
 #include "board.h"
 

+ 0 - 1
cmd/aes.c

@@ -7,7 +7,6 @@
 
 #include <common.h>
 #include <command.h>
-#include <environment.h>
 #include <uboot_aes.h>
 #include <malloc.h>
 #include <asm/byteorder.h>

+ 0 - 1
cmd/blob.c

@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <command.h>
-#include <environment.h>
 #include <malloc.h>
 #include <asm/byteorder.h>
 #include <linux/compiler.h>

+ 0 - 1
cmd/bootm.c

@@ -11,7 +11,6 @@
 #include <bootm.h>
 #include <command.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <image.h>
 #include <malloc.h>

+ 0 - 1
cmd/efidebug.c

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

+ 0 - 1
cmd/elf.c

@@ -17,7 +17,6 @@
 #include <command.h>
 #include <elf.h>
 #include <env.h>
-#include <environment.h>
 #include <net.h>
 #include <vxworks.h>
 #ifdef CONFIG_X86

+ 1 - 1
cmd/ethsw.c

@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <command.h>
-#include <environment.h>
+#include <env.h>
 #include <errno.h>
 #include <env_flags.h>
 #include <ethsw.h>

+ 0 - 1
cmd/i2c.c

@@ -71,7 +71,6 @@
 #include <console.h>
 #include <dm.h>
 #include <edid.h>
-#include <environment.h>
 #include <errno.h>
 #include <i2c.h>
 #include <malloc.h>

+ 0 - 1
cmd/ini.c

@@ -14,7 +14,6 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
-#include <environment.h>
 #include <linux/ctype.h>
 #include <linux/string.h>
 

+ 0 - 1
cmd/tpm_test.c

@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <command.h>
-#include <environment.h>
 #include <tpm-v1.h>
 #include "tpm-user-utils.h"
 

+ 0 - 1
common/image.c

@@ -17,7 +17,6 @@
 
 #include <rtc.h>
 
-#include <environment.h>
 #include <gzip.h>
 #include <image.h>
 #include <mapmem.h>

+ 0 - 1
common/spl/spl_dfu.c

@@ -15,7 +15,6 @@
 #include <g_dnl.h>
 #include <usb.h>
 #include <dfu.h>
-#include <environment.h>
 
 static int run_dfu(int usb_index, char *interface, char *devstring)
 {

Some files were not shown because too many files changed in this diff