]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
env: Drop environment.h header file where not needed
authorSimon Glass <sjg@chromium.org>
Thu, 1 Aug 2019 15:47:12 +0000 (09:47 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
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>
116 files changed:
arch/arm/cpu/arm926ejs/spear/spr_misc.c
arch/arm/mach-davinci/misc.c
arch/arm/mach-imx/cmd_dek.c
arch/arm/mach-imx/mx6/opos6ul.c
arch/arm/mach-meson/board-common.c
arch/arm/mach-omap2/boot-common.c
arch/arm/mach-omap2/omap3/clock.c
arch/arm/mach-omap2/utils.c
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-tegra/cboot.c
arch/m68k/lib/bootm.c
arch/nds32/include/asm/u-boot.h
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/lib/bootm.c
arch/riscv/include/asm/u-boot.h
board/Arcturus/ucp1020/cmd_arc.c
board/CZ.NIC/turris_mox/turris_mox.c
board/CZ.NIC/turris_omnia/turris_omnia.c
board/LaCie/net2big_v2/net2big_v2.c
board/LaCie/netspace_v2/netspace_v2.c
board/amlogic/p200/p200.c
board/amlogic/p201/p201.c
board/amlogic/p212/p212.c
board/amlogic/q200/q200.c
board/amlogic/s400/s400.c
board/amlogic/u200/u200.c
board/armadeus/apf27/apf27.c
board/atmel/common/mac_eeprom.c
board/birdland/bav335x/board.c
board/bosch/guardian/board.c
board/bosch/shc/board.c
board/compulab/cl-som-imx7/cl-som-imx7.c
board/compulab/cm_fx6/cm_fx6.c
board/compulab/cm_t335/cm_t335.c
board/compulab/cm_t35/cm_t35.c
board/compulab/cm_t54/cm_t54.c
board/davinci/da8xxevm/da850evm.c
board/dhelectronics/dh_imx6/dh_imx6.c
board/eets/pdu001/board.c
board/freescale/imx8qm_mek/imx8qm_mek.c
board/freescale/imx8qxp_mek/imx8qxp_mek.c
board/gateworks/gw_ventana/gw_ventana.c
board/gateworks/gw_ventana/gw_ventana_spl.c
board/ge/mx53ppd/mx53ppd.c
board/grinn/chiliboard/board.c
board/gumstix/pepper/board.c
board/imgtec/ci20/ci20.c
board/intel/edison/edison.c
board/isee/igep003x/board.c
board/k+p/kp_imx53/kp_id_rev.c
board/kosagi/novena/novena.c
board/liebherr/display5/display5.c
board/liebherr/display5/spl.c
board/logicpd/zoom1/zoom1.c
board/mscc/ocelot/ocelot.c
board/nvidia/p2371-2180/p2371-2180.c
board/nvidia/p2771-0000/p2771-0000.c
board/phytec/pcm051/board.c
board/phytec/pcm052/pcm052.c
board/phytec/phycore_rk3288/phycore-rk3288.c
board/qualcomm/dragonboard410c/dragonboard410c.c
board/raspberrypi/rpi/rpi.c
board/renesas/blanche/blanche.c
board/renesas/sh7752evb/sh7752evb.c
board/renesas/sh7753evb/sh7753evb.c
board/renesas/sh7757lcr/sh7757lcr.c
board/rockchip/tinker_rk3288/tinker-rk3288.c
board/samtec/vining_fpga/socfpga.c
board/siemens/common/factoryset.c
board/siemens/pxm2/board.c
board/siemens/taurus/taurus.c
board/silica/pengwyn/board.c
board/softing/vining_2000/vining_2000.c
board/tcl/sl50/board.c
board/technologic/ts4800/ts4800.c
board/theobroma-systems/puma_rk3399/puma-rk3399.c
board/ti/am335x/board.c
board/ti/am43xx/board.c
board/ti/am57xx/board.c
board/ti/dra7xx/evm.c
board/ti/ti814x/evm.c
board/ti/ti816x/evm.c
board/timll/devkit8000/devkit8000.c
board/toradex/apalis-imx8/apalis-imx8.c
board/toradex/apalis_imx6/apalis_imx6.c
board/toradex/colibri-imx8x/colibri-imx8x.c
board/toradex/colibri_imx6/colibri_imx6.c
board/toradex/common/tdx-common.c
board/vscom/baltos/board.c
cmd/aes.c
cmd/blob.c
cmd/bootm.c
cmd/efidebug.c
cmd/elf.c
cmd/ethsw.c
cmd/i2c.c
cmd/ini.c
cmd/tpm_test.c
common/image.c
common/spl/spl_dfu.c
drivers/bootcount/bootcount_env.c
drivers/mtd/jedec_flash.c
drivers/net/fec_mxc.c
drivers/net/fm/fm.c
drivers/net/fsl_mcdmafec.c
drivers/net/mcffec.c
drivers/net/ne2000_base.c
drivers/net/sh_eth.c
drivers/net/ti/cpsw-common.c
drivers/qe/qe.c
drivers/usb/gadget/ether.c
lib/efi_loader/efi_boottime.c
net/eth-uclass.c
net/eth_common.c
net/eth_legacy.c
net/wol.c

index 533268513ee346d8c23a1582d93107d0486bac11..d36484c9d69ab99ba03268bf02106d0d0e308480 100644 (file)
@@ -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>
index b310bc7293e66ca330390bf29a41f0ef7510ffd6..80e964274e19310449e0211f74d504c5f73d4393 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <net.h>
 #include <asm/arch/hardware.h>
index 463b869420b000d6402a83dec0d40ca302c092f1..1b111ba26b1397d881f7583f1deeef044f75afa1 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <common.h>
 #include <command.h>
-#include <environment.h>
 #include <malloc.h>
 #include <asm/byteorder.h>
 #include <linux/compiler.h>
index 183a0c961c4835893bcfdf8cc4cbe84c891897c6..3ab9a3f022f76c96949a8cf77520d8bd9ef83b5e 100644 (file)
@@ -14,7 +14,6 @@
 #include <asm/io.h>
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 08a7aae2b9f8c3c4e7ea52b63311d815de4bf088..0843dca156c78f60e484d776b96c0f372de8c7c7 100644 (file)
@@ -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>
index c8b8ac657fbff3abed5a5d1ad9be851ed97076db..eb8c5843fafac3c8da9811dadd36411861e8d4da 100644 (file)
@@ -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>
index cb9e91ebc3b375dd7ca7894f6e32d95942eddf20..71f73492c6c47bfe58ca9d37da0ae93512fb01ad 100644 (file)
@@ -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>
 
 /******************************************************************************
index 5478416e9c8659f1204286ef093b9f054353d34c..0d5ca20e8e87818fd9549d42b9007acf4b76a051 100644 (file)
@@ -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>
index b06b84c315e73aef668fecc8c9b3b3c5a381fb73..a46e8438f7c2bf91ae0cc65bed98bfaf1d7941bf 100644 (file)
@@ -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>
index bd4f33686da02a4f69de14ece05a7ee142994589..0433081c6c55ce69925441a32f37946bac0919fd 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <fdt_support.h>
 #include <fdtdec.h>
 #include <stdlib.h>
index 5b7a68b2501ead6247add5e1a900832c3235bf02..19445b3fc7a56c4ac78d57af4d721ff2b7688c6c 100644 (file)
@@ -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>
index 68701d6da9a5ff04b6927ba8076fd6e497e7a792..8c949e7fb71dba21c3837689156d7b22e3daab89 100644 (file)
@@ -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 */
index d17c382cc9f4a67d440cbb06a18481d5726522ef..db12aefb2903bfc0e64d9582db611ea575165dd5 100644 (file)
@@ -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>
index 52bcd4e6f1623249eeb3a468de5e7144cbc065dc..84691b75546390ee97ea31af1506de2b34a7407d 100644 (file)
@@ -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>
index 3186835e0ad789f79844aabba3c99a1dd680c3a9..5ba8e77812863289e95823df47a8f9f0ac133e5a 100644 (file)
@@ -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 */
index 755f569d13166526e14aee80a5653ac1240f30af..2e8477ed3b7a01a205aa460fc32aeee155291bb2 100644 (file)
@@ -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];
index f3c89d63d5430cfc0addfc374eae3f146bd957a7..946e20ab492f8990c38fd76ac103563be97bf8be 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/string.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
-#include <environment.h>
 
 #include "mox_sp.h"
 
index 418657c2d572514f49ea7c9ce400a261d8d5e422..1d8d08a847d9104356b3763248be95fd8beac2cf 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <miiphy.h>
 #include <netdev.h>
index 1609089502c12fd0d6b35796f05978133ffbee98..686608d25a5aa63a0b7dfbbd8349e87a0f67896c 100644 (file)
@@ -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>
index ba667934e4219b6e121159cf8100d7ea5110e92e..bd7ab22948b220608322b94fa9bf0d051b774a78 100644 (file)
@@ -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>
index 7f33ce0f0bb318bd215137412969fc1570d3fb18..41d331dda2d4acc5fa51714b87efce4b5d8d0f59 100644 (file)
@@ -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>
index 0a17fbedf1d44a50374a7842d9cecf6be1a9605f..e46fcaea6dcda73a22bade2a87645f5ae48fcea2 100644 (file)
@@ -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>
index 4d6ac7264ccde6ab1b69ad7aeb5865684f3242bb..094ab5478d0034a2fb5a8fbba0eff9e697855820 100644 (file)
@@ -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>
index 880945f143b1198d4ded2d8809fb758eeea48913..f1faa7418e07004fbd77ed2bd6acfb9f454cd801 100644 (file)
@@ -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>
index 02a0e9286cb15c889d180667c9b8f710fcf23ff7..bdb4eca8839e8bffa38bb34ec7209ea3c32cfcf3 100644 (file)
@@ -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>
index 94ee3ce6e45b022de15a7ed61c1689a6be167e29..69fd29d4fecc6cee6f4c27134eb5a41def7af783 100644 (file)
@@ -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>
index bf2586d326aa9845e7976476ab00d1e445416cb5..20be0c3bd4ef7dad734f010c2ac680d9df87072d 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <common.h>
-#include <environment.h>
 #include <jffs2/jffs2.h>
 #include <nand.h>
 #include <netdev.h>
index f016ef7a6a7bd63766497d5d18a70f4b62768732..83a7778e99546876dc2b8976bd1939829967c71c 100644 (file)
@@ -7,7 +7,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c_eeprom.h>
 #include <netdev.h>
 
index b0339ad8f0240b5f1e42bb71c02985fb327adb13..9e64cbbc827b760d7f9790540fd328f4690415a8 100644 (file)
@@ -30,7 +30,6 @@
 #include <power/tps65910.h>
 #include <environment.h>
 #include <watchdog.h>
-#include <environment.h>
 #include "board.h"
 
 DECLARE_GLOBAL_DATA_PTR;
index 86ab180f5cdb962cd437b27d0961eea070241928..bc3c6d229c2abcaba839c7545e7171ac7f14ae29 100644 (file)
@@ -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>
index 29be3739f914a317561bba78fe6bd301767dd19b..358118f75774e77902e6140b7515b1fe88c56a71 100644 (file)
@@ -33,7 +33,6 @@
 #include <power/tps65217.h>
 #include <environment.h>
 #include <watchdog.h>
-#include <environment.h>
 #include "mmc.h"
 #include "board.h"
 
index 6cc7554c1a46d3798f23ecbcae681a881cc529c0..395d5dce17854488fc71ea99ac980adeb5bfbb87 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <mmc.h>
 #include <phy.h>
 #include <netdev.h>
index 57bbe41b8c9da1968239f27ebb88ab87d13721bc..feb7a71f007d64ff6b78d2ee3f8dbb39977d8f5c 100644 (file)
@@ -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>
index fca7685ca7ae4350083a02ee8e4b25dbc4ced534..6e38745191c0f6e19d2e73974dbf3fe715dd3bc9 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <miiphy.h>
 #include <cpsw.h>
index ead470064636e3a2eb43837c6c86e405bdcb82ec..b52358baacd860ac674a979947b44e8eaf3e9087 100644 (file)
@@ -13,7 +13,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <status_led.h>
 #include <netdev.h>
 #include <net.h>
index d7c59d5a32afd5b9bfa9246ba1da68bb6f1d3c03..811bbb528a82d1abc9ebc0439ea0796f4375035f 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <fdt_support.h>
 #include <usb.h>
 #include <mmc.h>
index d3f3819f112933a6749bbfc04ba9fd5ae134b9dd..d9019de6e0066353672ed7d08fc679793a2717f9 100644 (file)
@@ -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>
index 1994dec8f99c41c3fafa2fd72dc9cc98f6a6b43e..2d0f78da118f512a2f6296cb4ed240ae4f45d297 100644 (file)
@@ -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>
index 74a66842748d1ffd41c842a218d7b6951fd33e69..8a3d0ada270e8c9038e7c70fedb81f481b97307b 100644 (file)
@@ -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>
index f4b0ffc59deae0239f19d73704654227cd0edd91..76634a3a28ad9cc0ffd80d3a1a2e84741ce95750 100644 (file)
@@ -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>
index 26bbbca8fc68d4c56509ea2b1cc16a208d76612f..4ba83142841a23c0672620e193e08a4165f8b985 100644 (file)
@@ -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>
index 3c40a4a8922476b09f09446b369fa0cc8f8782a4..8a694a71c90bcc10f6c980085f51f73fecb93786 100644 (file)
@@ -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>
index 6886ff9b33baf4e25b216e6946dbb4edd5a47d19..b0891379a170f7d87667a554eff9014fe1595e0c 100644 (file)
@@ -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>
 
index aadf4668d98ce2eb981abc263b94b0a7305a3b6b..544856729821b7931ee70c23f08b27e88c6bd835 100644 (file)
@@ -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>
index 6b9e6e9a0984128e27b446daa9e56d14f0b22d3e..c6d53600fa1c6e74eb006947e204594284b8ea1a 100644 (file)
@@ -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>
index 7ae4c5cd77fd3e3af735630064a4f6e396c6610f..f5beb8c940ee6805a8353c4a7d636243a7f81fe8 100644 (file)
@@ -26,7 +26,6 @@
 #include <miiphy.h>
 #include <cpsw.h>
 #include <power/tps65217.h>
-#include <environment.h>
 #include <watchdog.h>
 #include "board.h"
 
index f72a660581cccb9ec168dc9e961f7ea40d334a4a..5368b67b38b669c75175d3dce44d7ed67380c8ac 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
index f8f498d088472a13e45eac6a186af82f9a301b09..f56b5b1affefa8ca27763584f03ed7bbd6ae13af 100644 (file)
@@ -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>
index 398c945990919f307bb5f1031a4d266b1bdf8f95..a8c2b121a476ca5935916719d605c5cafe4beb4b 100644 (file)
@@ -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;
index 642adf78d8c29c6caf632af61fda84dcc8fa6192..9dae54dda5fc6a3d41e20e1ea8dd2fd26f43c5dd 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include "kp_id_rev.h"
 
index e0f0d7c60c01c2d36e659bcaf0b60b3e283b8492..b7b747d196583f812195ec999e34c3e8135fcc52 100644 (file)
@@ -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>
index 5c70e1b6f28cf67fcb0ffbef5b4eba9f61df35d3..037c4e69e59cbaeeaa4af29d1487896aea41a047 100644 (file)
@@ -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>
index d92760b4870d372fb9616f1587e9306a32991384..354b63e431f687d862b646bbf44fdb5e79559d36 100644 (file)
@@ -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>
index 54716125f38f4b83432331019ea0304f7d84d0fb..6bfa41737f6b7e199a6b20626a102614142c5e09 100644 (file)
@@ -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>
index bcae8fa50ca2b5bce19621af0e6fc095230a38d0..91d03951dbbebc604d121871bf930b8be667ebd0 100644 (file)
@@ -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>
index b1da5c9982d0f8b0f5447ba9d9e205e3d0923aa2..fa5288bf18595f62c8501642a7fcbb3fda164eb6 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <fdtdec.h>
 #include <i2c.h>
 #include <linux/libfdt.h>
index 8c91b75f9677c4ea5d35681cde48fbee7f508d48..63cdb3a604b8014281af66dc79eda1f6c27d9582 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <fdtdec.h>
 #include <i2c.h>
 #include <linux/libfdt.h>
index 0cb85e940c40a5dec6f2f4a05337d31b0402ba68..43f6c5afcb8ce872b3ed9bae73b15dd77d401dbc 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
index 2417111765f882ec512df35e721137c797e1ecd5..e1ebe8e75d008db4dcdf0c38985ae49f4d517221 100644 (file)
@@ -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;
index 9f945e829d8e6e58223554474f5a9a3d4aa0cf62..7b9178e3a69c469d8c511c1ee59ea58388880311 100644 (file)
@@ -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>
index 06d3d7e0f85b23147cab838d6485a8bc3fd4c4c2..d7f0f93fb109113e64ca414c156e1bbbb3d46f12 100644 (file)
@@ -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>
 
index 104589bff16b7cc98c7b6b5e8d05d0aaa589ed17..7a6ca8f759e66d0e987ac3a51e75be71852fdebd 100644 (file)
@@ -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>
index 898abfbd85f709f041e008dd82761e9cd023ebff..08c544860953fc9c34cbcac343b343f2c5199a01 100644 (file)
@@ -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>
index b14ce263f789905277d5b239da889b074a1fa5e6..d0b850f35d4914531034a8047c5dfc48d52fbf92 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <malloc.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index f643867806b3179208dc19b035033f3d65b35908..e1bed7dcc3717be68b2c3b48642380653f94ecec 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <malloc.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index 2d32440aeb3b43c90d33d67ce8ba45e49f04b038..d2671202e98182ba95234276eddac2881a74991b 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <malloc.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index e379950095b902733080788a812a4dedaa3428a1..6c76c3c25c4d644a5f6c2c27357dec7d6f56b4a8 100644 (file)
@@ -6,7 +6,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c_eeprom.h>
 #include <netdev.h>
 
index 63ce4a20b5d17b20620aac77f8933742cee27a8b..1e095a4e7db0feeabcaf6a37ca9a0ffa02217a7a 100644 (file)
@@ -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>
index cd224a8e1c1782a71b9a7467a0880da8eb848f12..049a65ff778f6617c0b7435159a2b606741f47fa 100644 (file)
@@ -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>
index 0a82a5ef5c53b15c71853011a9ed049ffed15c66..30f0902701ee466eacd5f67f2a33125d7a81fb0f 100644 (file)
@@ -14,7 +14,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <errno.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
index d0efb67bbc19082b2bcef3fbf2af6a3670488c66..1cf1f9e1f7cadba9ccc006b164f4aa30e307e59e 100644 (file)
@@ -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>
index dc10b76160afc4e45af0ef0197921ff4d866f2be..345701fd52c61055b05f3df56d28fe5eb1b374a1 100644 (file)
@@ -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>
index d1df8fc0cc6b9cdc5c2ea1ed692f956c744d8de8..51985b91c2261e214f235ca0b305bdecb153c190 100644 (file)
@@ -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>
index 8ddbee543636409dc1b8b9832292463c90284787..a9c9d377b4fc937cc9d352a5abaae53bbe0edd9c 100644 (file)
@@ -30,7 +30,6 @@
 #include <power/tps65910.h>
 #include <environment.h>
 #include <watchdog.h>
-#include <environment.h>
 #include "board.h"
 
 DECLARE_GLOBAL_DATA_PTR;
index 38d3a3de26eddd2e236bfd9222284ab083c5d0ae..82eb0c285cc17c567afbd7cc14ddf4eab8fe51c1 100644 (file)
@@ -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>
index a00587c3fa46046a5b74533ed27eae711ff99243..4113a1c6ee03767726ce199fa9393b6794c6213f 100644 (file)
@@ -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>
index 58d09f7c20f7d4af4108dc10f6a6c99a7a6f5265..54adcd510de49a5d68c505b0b74d650a552123b2 100644 (file)
@@ -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"
 
index 756b516aa6b896c9cee09257fa249b56b54fb127..2e09cc20e8c2d6df6978e094c2ad9257c2a067fc 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <i2c.h>
 #include <linux/errno.h>
 #include <spl.h>
index 0dacfd43277e8ae12c4883accbdde9ff7a3d632e..f78e6c2e1f6e2706aca87444000d26ea09720621 100644 (file)
@@ -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>
index 97eef65d51af99b535c9a118afd3c257aa173477..74d04bb1e393adb1641bb1f04b8702e51596f710 100644 (file)
@@ -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>
index a4c094b6dc2cbc68137fc2cb78694218b2ed3972..2b9385d14b43ca36945ed003e34e9f0a0b6f61c2 100644 (file)
@@ -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>
index de9e91a685b9f22aadaeab1ece2223ed4fae3013..8f7b591b5c46415a978ec5f33a43938fd0c3a3a8 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <spl.h>
 #include <asm/cache.h>
 #include <asm/io.h>
index f8970b0b6dd426a79f6e410441a79d1656174806..490d8cbcd061f6b56024aff51db8d4a47814546f 100644 (file)
@@ -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>
index a770472e17f9320c43efe0b8fa965a5e4511d569..af48b560952eb3c2ceb3ae1dde8cee106453ecf4 100644 (file)
@@ -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>
 
index 89f1b728fd41d528615c54c8eed0391ed17c1f8e..6421a22c25a7a29ee15827398b0c73c38bca2ffc 100644 (file)
@@ -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>
index 69628b906cf76ceea108f509f44edcf656de680d..eae3c591a16464698792e5fb623d8a01bf2e9ad0 100644 (file)
@@ -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>
 
index f657db87d8f117be0c93e9e30bd97c20efe6581a..ad40b589c1ed17ac89a984f369e50682ae147588 100644 (file)
@@ -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>
index 71642a13ea162eadf8ccabb1b543a3b590f8c48a..e9441a7979d2195b8ed9053af9a09b7689b4014f 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <g_dnl.h>
 #include <linux/libfdt.h>
 
index 5f5a51bfbf57a369e62d07737ed227b18d63410f..f5540841c9ff0347284879bbc460dfa306ca3e88 100644 (file)
@@ -29,7 +29,6 @@
 #include <miiphy.h>
 #include <cpsw.h>
 #include <power/tps65910.h>
-#include <environment.h>
 #include <watchdog.h>
 #include "board.h"
 
index 25efb9642a2b23f30dbe56d236a9675af54c2d9c..7ff4a7170934a4a0e9a3ddba5f8c8bf127cfdf28 100644 (file)
--- a/cmd/aes.c
+++ b/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>
index d3b6e454bf46d61b4ccd9c9fae47b19434903c77..80478b8802daa24d56c7f81793fa1d082207c8b1 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <command.h>
-#include <environment.h>
 #include <malloc.h>
 #include <asm/byteorder.h>
 #include <linux/compiler.h>
index b326ac9b431a7616ef354caa2301da66d341d636..8279f2b7cc632f14f7cf2155583dfb0710797cfa 100644 (file)
@@ -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>
index 961e8fad22be51b320bcfbf886937302db402142..ef97e19d0735851f9fbdb93ee4910a53041b33b1 100644 (file)
@@ -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>
index 5e5cf47cf894a7c55811ec5861732473549271bb..538562fda581ba6b6978199db8e8a2ae1f8f5231 100644 (file)
--- a/cmd/elf.c
+++ b/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
index 473324f878287f84395bc8b4066c02e25cfabb0a..884680579975f6911bfdfb3b713b93c91e2f090f 100644 (file)
@@ -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>
index 09c4ba9a1c752f48f6b0b5d293be0f6b80f639b8..e0f8ece597c556d518697ff91d610632d1c3e2e0 100644 (file)
--- a/cmd/i2c.c
+++ b/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>
index f4faa7cae1b2bc3fb8dc0024726de98ef914df13..0c425262d0e77df77d912f705d9d93c21c317b7c 100644 (file)
--- a/cmd/ini.c
+++ b/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>
 
index 56a5aa4aa5ead0b6c913250903eeae0a590bd698..c14dd75a260914583b11351c2b7fce079cc03421 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <command.h>
-#include <environment.h>
 #include <tpm-v1.h>
 #include "tpm-user-utils.h"
 
index 4a578f3ef083b34250e1887a25860669cacbc2a6..84e859a30f455c184ecc4997b584e7c958c5fc4f 100644 (file)
@@ -17,7 +17,6 @@
 
 #include <rtc.h>
 
-#include <environment.h>
 #include <gzip.h>
 #include <image.h>
 #include <mapmem.h>
index 3f54ae02601980ff384b4172c4aeb1ade164c3f9..5728d43ad3f29f664502e48ca415809328811a39 100644 (file)
@@ -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)
 {
index 50e0857b3bf26f102c3087b37065acaf7ec2597a..b75c9002b2c0a7ffb532570a9af13aa637ffcf22 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 
 void bootcount_store(ulong a)
 {
index a3540c11152f6c5e9cbb5df874e6dfdc3d8fb1ce..f59b2bc62fba010e6d4778b2262bb91055c8d028 100644 (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
 
index a8b141aba2bd0cf0020489e2e3c0531c7b306c3b..080dbcf7db4463704866091c0ef23b9928cc932b 100644 (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>
index ce0f1678fd0be22c12d6dc511bb1a17d9312d214..4c9dce8dc57bc6a47739d0088a1b4d318e674f91 100644 (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>
index 41752c0b6af362b2442680e1a2c3141c0ecd6250..e66fb16de8720e10556dc4b30640cb2abbf576a7 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <malloc.h>
 #include <command.h>
 #include <config.h>
index a8553cbbc2f02d4119c01be7d617703bf8031c76..fb930412569c0c46b5ba6b53599a5248668c7bb0 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <environment.h>
 #include <malloc.h>
 
 #include <command.h>
index 3bc7a35086d8fd0edb1967682b345deaae6fff66..819a24607007d5cf1e27c16d2a4c93d7b260adb9 100644 (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>
index e2ca4749f7006ca66c8ccad57ce26d8dc41c8c04..749f651920828955b5be7469e26fd4c16a1b9fee 100644 (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>
index ac12cfe9b86bd989777943915c5e1f34f94d7a00..21b8bbda3d5b61cd900642c5c9cf0fc109c8a347 100644 (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>
index 505ae9b45fb431fcc6c5560695b3463995495bbe..6e4d732a07a4f6e990f9e175925fd5ec4fdc04e3 100644 (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>
index fa49d3126f0c760024247abe86888966e21014c8..a118283984c2d2e58226a93a2d26c11f58f71b8d 100644 (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>
index f75ca1a67c98a0ba4b9e6f7fc10d15ef0d1ea2ae..b9bff894cbba0be5fc43c515fb2e7f6ef0a25d04 100644 (file)
@@ -8,7 +8,6 @@
 #include <common.h>
 #include <div64.h>
 #include <efi_loader.h>
-#include <environment.h>
 #include <malloc.h>
 #include <linux/libfdt_env.h>
 #include <u-boot/crc.h>
index 4e4f47243123e12fc643f2e18e509f31b2f44479..1d5d2f03b7d946f989dadfcb852d6d62576c4693 100644 (file)
@@ -8,7 +8,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <net.h>
 #include <dm/device-internal.h>
 #include <dm/uclass-internal.h>
index dcc59186d89dd2a3c26e8530b37b2979838a08d2..ed26b1b69359aae191481f058db7e99fa8c329b5 100644 (file)
@@ -8,7 +8,6 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
-#include <environment.h>
 #include <miiphy.h>
 #include <net.h>
 #include "eth_internal.h"
index 0f558b23ce147fd66cda804337c4c8aa9609c5ee..850f362d873e2930da2d0e42bf77f5412c5b64cc 100644 (file)
@@ -8,7 +8,6 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
-#include <environment.h>
 #include <net.h>
 #include <phy.h>
 #include <linux/errno.h>
index 51543343e409a6807b7b56448413bf204ca9fc49..0a625668a992ef4fd6feb8c8cf4084b6020ccfd8 100644 (file)
--- a/net/wol.c
+++ b/net/wol.c
@@ -7,7 +7,6 @@
 #include <command.h>
 #include <env.h>
 #include <net.h>
-#include <environment.h>
 #include "wol.h"
 
 static ulong wol_timeout = WOL_DEFAULT_TIMEOUT;