env: Move env_get() to env.h
authorSimon Glass <sjg@chromium.org>
Thu, 1 Aug 2019 15:46:52 +0000 (09:46 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
Move env_get() over to the new header file.

Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
129 files changed:
arch/arm/lib/bootm.c
arch/arm/mach-imx/video.c
arch/arm/mach-kirkwood/cpu.c
arch/m68k/lib/bootm.c
arch/microblaze/lib/bootm.c
arch/nds32/lib/bootm.c
arch/powerpc/cpu/mpc85xx/mp.c
arch/powerpc/lib/bootm.c
arch/xtensa/lib/bootm.c
board/BuS/eb_cpu5282/eb_cpu5282.c
board/CarMediaLab/flea3/flea3.c
board/bluegiga/apx4devkit/apx4devkit.c
board/bluewater/gurnard/gurnard.c
board/broadcom/bcm23550_w1d/bcm23550_w1d.c
board/broadcom/bcm28155_ap/bcm28155_ap.c
board/compulab/common/omap3_display.c
board/freescale/bsc9131rdb/bsc9131rdb.c
board/freescale/bsc9132qds/bsc9132qds.c
board/freescale/c29xpcie/c29xpcie.c
board/freescale/common/vid.c
board/freescale/corenet_ds/corenet_ds.c
board/freescale/ls1088a/eth_ls1088aqds.c
board/freescale/ls1088a/ls1088a.c
board/freescale/ls2080aqds/eth.c
board/freescale/ls2080aqds/ls2080aqds.c
board/freescale/lx2160a/eth_lx2160aqds.c
board/freescale/mpc837xemds/pci.c
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/mx51evk/mx51evk_video.c
board/freescale/mx53loco/mx53loco_video.c
board/freescale/p1010rdb/p1010rdb.c
board/freescale/p1022ds/p1022ds.c
board/freescale/p1023rdb/p1023rdb.c
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
board/freescale/p1_twr/p1_twr.c
board/freescale/p2041rdb/p2041rdb.c
board/freescale/t102xqds/t102xqds.c
board/freescale/t102xrdb/t102xrdb.c
board/freescale/t1040qds/t1040qds.c
board/freescale/t104xrdb/t104xrdb.c
board/freescale/t208xqds/t208xqds.c
board/freescale/t208xrdb/t208xrdb.c
board/freescale/t4qds/t4240emu.c
board/freescale/t4qds/t4240qds.c
board/freescale/t4rdb/t4240rdb.c
board/gateworks/gw_ventana/common.c
board/gdsys/a38x/keyprogram.c
board/gdsys/mpc8308/hrcon.c
board/gdsys/mpc8308/strider.c
board/gdsys/p1022/controlcenterd.c
board/hisilicon/poplar/poplar.c
board/menlo/m53menlo/m53menlo.c
board/nvidia/p2371-2180/p2371-2180.c
board/nvidia/p2771-0000/p2771-0000.c
board/renesas/alt/alt.c
board/renesas/gose/gose.c
board/renesas/koelsch/koelsch.c
board/renesas/lager/lager.c
board/renesas/porter/porter.c
board/renesas/silk/silk.c
board/renesas/stout/stout.c
board/samsung/common/exynos5-dt.c
board/samsung/odroid/odroid.c
board/siemens/common/board.c
board/ti/ks2_evm/board.c
board/toradex/common/tdx-cfg-block.c
board/varisys/cyrus/cyrus.c
board/work-microwave/work_92105/work_92105_display.c
cmd/bdinfo.c
cmd/bootefi.c
cmd/bootm.c
cmd/bootmenu.c
cmd/fpga.c
cmd/itest.c
cmd/mvebu/bubt.c
common/bootretry.c
common/cli.c
common/cli_simple.c
common/fdt_support.c
common/image.c
common/spl/spl_ext.c
common/spl/spl_fat.c
common/splash.c
common/splash_source.c
common/usb_hub.c
common/usb_kbd.c
disk/part.c
disk/part_amiga.c
drivers/dfu/dfu.c
drivers/fastboot/fb_common.c
drivers/fastboot/fb_getvar.c
drivers/fastboot/fb_mmc.c
drivers/input/i8042.c
drivers/input/input.c
drivers/misc/fs_loader.c
drivers/net/dc2114x.c
drivers/net/fm/fdt.c
drivers/net/fsl-mc/mc.c
drivers/net/fsl_mcdmafec.c
drivers/net/ftmac100.c
drivers/net/mcffec.c
drivers/net/phy/micrel_ksz90x1.c
drivers/net/sh_eth.c
drivers/pci/fsl_pci_init.c
drivers/pci/pci.c
drivers/pci/pci_common.c
drivers/reset/reset-socfpga.c
drivers/rtc/m41t60.c
drivers/serial/usbtty.c
drivers/usb/gadget/designware_udc.c
drivers/usb/gadget/f_dfu.c
drivers/usb/gadget/f_fastboot.c
drivers/usb/gadget/f_rockusb.c
drivers/usb/host/ehci-fsl.c
drivers/video/ati_radeon_fb.c
drivers/video/cfb_console.c
drivers/video/mb862xx.c
drivers/video/mx3fb.c
drivers/video/mxsfb.c
drivers/video/videomodes.c
env/callback.c
env/eeprom.c
env/nvram.c
include/common.h
include/env.h
lib/efi_loader/efi_console.c
lib/smbios.c
net/link_local.c
net/tftp.c

index bf68a5ba62241c2b7336710e89046d7b78e06e2e..1638f1e81d700274c0ba9a7bd84f9bf5c396f2d7 100644 (file)
@@ -15,6 +15,7 @@
 #include <command.h>
 #include <dm.h>
 #include <dm/root.h>
+#include <env.h>
 #include <image.h>
 #include <u-boot/zlib.h>
 #include <asm/byteorder.h>
index 22a371a212d6c471d8fc6b5854152c3d738cf651..1bc9b7cc7e1591061afbea0b3cc8a6ba8682b475 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0+
 
 #include <common.h>
+#include <env.h>
 #include <linux/errno.h>
 #include <asm/mach-imx/video.h>
 
index 8f8e3003854c213d7b04c2e974058230f90b605b..6ad2543438674733fc713042806c7b7cd1c5c41a 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <netdev.h>
 #include <asm/cache.h>
 #include <asm/io.h>
index 1b1543029791ce9ea87469fb37d774ca2b935e93..5b7a68b2501ead6247add5e1a900832c3235bf02 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <image.h>
 #include <u-boot/zlib.h>
 #include <bzlib.h>
index 083a43c3a5c74de6b05adaab8f8a275b478f9559..ec332944d8e81cd881f5cd37f818367ed758133a 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <fdt_support.h>
 #include <image.h>
 #include <u-boot/zlib.h>
index 0cfdc52b465a8637e7d46cbbc3fcd5d078fe307f..a472f6a18737fc697b989eddb317022eeb45424f 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <image.h>
 #include <u-boot/zlib.h>
 #include <asm/byteorder.h>
index 119d4b3510abbd48e2c132b7e0bbb8e3fca3f858..3882c95f92eae4a298d1bd357560ae7faf61c168 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <env.h>
 #include <asm/processor.h>
+#include <env.h>
 #include <ioports.h>
 #include <lmb.h>
 #include <asm/io.h>
index 15e9c2a83e583d620b86c806dede008b91a95cac..52bcd4e6f1623249eeb3a468de5e7144cbc065dc 100644 (file)
@@ -8,6 +8,7 @@
 
 
 #include <common.h>
+#include <env.h>
 #include <watchdog.h>
 #include <command.h>
 #include <image.h>
index aceed153d754cb20dd0f9990ac15cd6746b9fbff..93eea53c5f29d4d2a47ac5e2ab4560410567b8cb 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <u-boot/zlib.h>
 #include <asm/byteorder.h>
 #include <asm/addrspace.h>
index 379194803a847bc3f0b287a91a718050f57f93c1..0b916d2482c5f52696e3ff7be10bb4c31e33e7c9 100644 (file)
@@ -11,6 +11,7 @@
 #include <command.h>
 #include "asm/m5282.h"
 #include <bmp_layout.h>
+#include <env.h>
 #include <status_led.h>
 #include <bus_vcxk.h>
 
index 9eec1b7838123e54529bf25a0663d140d91211e8..be0bc228ec7179f05e85049f495660a5498171c6 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <asm/io.h>
+#include <env.h>
 #include <linux/errno.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/crm_regs.h>
index 9aa87f5ccf025618e3a59e7e1ff678dd32f64f90..9268aa0daafc10f614b5efc1a316e9618fcd8e74 100644 (file)
@@ -21,6 +21,7 @@
 #include <asm/arch/iomux-mx28.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
+#include <env.h>
 #include <linux/mii.h>
 #include <miiphy.h>
 #include <netdev.h>
index 3cda2fafab221e1bc46644789ef1d6ec1a07e6c6..48e31d9065a2d4d7e5bf02e1ad918d663ddcdb7f 100644 (file)
@@ -12,6 +12,7 @@
 #include <atmel_lcdc.h>
 #include <atmel_mci.h>
 #include <dm.h>
+#include <env.h>
 #include <lcd.h>
 #include <net.h>
 #ifndef CONFIG_DM_ETH
index 72a32a2765968a83876028d19c83240b17b7a95f..ce9f0494ee599c8b2d99498459e6ef2bbce1ff82 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <asm/io.h>
 #include <asm/mach-types.h>
+#include <env.h>
 #include <mmc.h>
 #include <asm/kona-common/kona_sdhci.h>
 #include <asm/kona-common/clk.h>
index 6faeb6a5154f9f78af646011e798fa7e9324a866..87616386cb84099916518f3242a179066b50a525 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <asm/io.h>
 #include <asm/mach-types.h>
+#include <env.h>
 #include <mmc.h>
 #include <asm/kona-common/kona_sdhci.h>
 #include <asm/kona-common/clk.h>
index bc9f31ab87d69c6c1a800bd562a00c81518d6356..cb9ebae7f964ed4e53a147bf9d2642ee9e714baa 100644 (file)
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
+#include <env.h>
 #include <stdio_dev.h>
 #include <asm/arch/dss.h>
 #include <lcd.h>
index 9d9c83f7167e8bca4cafef6bc11dc24e13216cbf..30e7a1f7ed90a578260b0cb7e67e4cf6f8704783 100644 (file)
@@ -9,6 +9,7 @@
 #include <asm/cache.h>
 #include <asm/immap_85xx.h>
 #include <asm/io.h>
+#include <env.h>
 #include <miiphy.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 36a55285e8110a8a871a1fafe41896279e66a05e..dd9ad905085bd755577d59f283cc6ee0bcccc131 100644 (file)
@@ -9,6 +9,7 @@
 #include <asm/cache.h>
 #include <asm/immap_85xx.h>
 #include <asm/io.h>
+#include <env.h>
 #include <miiphy.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 8ee3e140bbfb5dbf54dc6f7e29a4a45f3b856337..6d103be7ffca4d6bc7d33275a83732a7e8400c03 100644 (file)
@@ -9,6 +9,7 @@
 #include <asm/cache.h>
 #include <asm/immap_85xx.h>
 #include <asm/io.h>
+#include <env.h>
 #include <miiphy.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 0ca389c9aebf978591d80eb5233b7d5aaa000f8b..b8049719816f8c756684f4b9b25c44cf3db18b95 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <i2c.h>
 #include <asm/io.h>
 #ifdef CONFIG_FSL_LSCH2
index b166faf3265a153356ae5a8b9a0d7f2d22e616dd..3ce9a76aae198426a2821db0c66023e5fdc637da 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <netdev.h>
 #include <linux/compiler.h>
 #include <asm/mmu.h>
index f16b78cf03f06c8114f858c0b2099d17c89a3b60..d4ab9791e966b4cbbab0a0c91bbe8407118df30a 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/fsl_serdes.h>
index 6d11a134dc9dd863889b81488976045a38ea1dee..a1c9eb3f468b9935cae10bdd90c18b50ca5699cd 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright 2017-2018 NXP
  */
 #include <common.h>
+#include <env.h>
 #include <i2c.h>
 #include <malloc.h>
 #include <errno.h>
index f706fd4cb6a9600f0ab67d48fb1d856da12bcd30..1b4e6c65fb96088a3567dca065ff56a136528b8d 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/fsl_serdes.h>
index a0a33016916452d9700c1a58b9730dd0cff6c8f8..e9e0999a1867e24fc5403c567e622be7febd60bf 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright 2015 Freescale Semiconductor
  */
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <errno.h>
 #include <netdev.h>
index f6e22d7337b68ef1b1373e8b3ca87cab89300431..92c06e5060f101dae68892eefa8f881aefabdbca 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <hwconfig.h>
 #include <command.h>
 #include <netdev.h>
index 42176389521b3c9036e1f606e2cfc2c044bcec49..41b78cf5e4dec8b595777be792c940e918e54921 100644 (file)
@@ -6,6 +6,7 @@
 #include <asm/mmu.h>
 #include <asm/io.h>
 #include <common.h>
+#include <env.h>
 #include <mpc83xx.h>
 #include <pci.h>
 #include <i2c.h>
index 6abeeba43b5b25f2f659452bfd8c17ad3be76610..89f4d6c05f282264d6e986890eb067adb42063b2 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
index 995fb9a9abb6e06e9bd907c5754fc34064404290..3715c5d738f90176feb86dcf0326ea379d7a68c9 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <linux/list.h>
 #include <asm/gpio.h>
 #include <asm/arch/iomux-mx51.h>
index 160af1ef0df3f7bb095f33d92e245583206601ae..ff3fc8ce3e6f9f359420be4c166343eafe0596c6 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <linux/list.h>
 #include <asm/gpio.h>
 #include <asm/arch/iomux-mx53.h>
index b0db353167ab6e2ac2fd15730d284a0b8a12cf4f..449df937e6a5fec44cde754a3740bc0fb86ad4f4 100644 (file)
@@ -9,6 +9,7 @@
 #include <asm/cache.h>
 #include <asm/immap_85xx.h>
 #include <asm/io.h>
+#include <env.h>
 #include <miiphy.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 835ede562e9616d9698c2906187338698340252c..9406e75517069f07381868fb1274c926c30be38a 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
index d0012ea38b78311d589c505787628074ffa55a81..7db04043ca51a7c9da3d483bf36f92087559e29f 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <pci.h>
 #include <asm/io.h>
 #include <asm/cache.h>
index 4b151e8ef381b59b3cf8c0721d88d7a1726b20f9..a04a73528f8d4629c1f783d91c4de6062895be4e 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <hwconfig.h>
 #include <pci.h>
 #include <i2c.h>
index fe99ebf4b202e767f21f4d5d4bda5d214046ff11..01cac181b347094e04783c9346b4056c1e46589c 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <hwconfig.h>
 #include <pci.h>
 #include <i2c.h>
index 6324027c8ab4669fa873ab10ede79c2465c37303..baf1506908eee69019405b5a419b9e59465e984e 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <netdev.h>
 #include <linux/compiler.h>
 #include <asm/mmu.h>
index d770aebebb98f12d14228793b998ad9f65686c8a..6c754503d1906fd5e91b4fa73670d36a39c459f6 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <i2c.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index acc0be07c5af530774b2cf9d5a0c5a942401a8bf..793f54d69ea57a81c4f455d5c8b797fb2f173dfd 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <i2c.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 911190b1fe0b436fadf9562398c2b0c9571c53c9..55516b9f067eeb70881c0d4488d2402f6520a418 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <i2c.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index c9557b465f24525d05673c0188c469519c9373b2..c7a645108f46d3531dcb4a334ed2374e531c279c 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <hwconfig.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index abd069fdfe6f2d4dda352cb6c90f5e21044e447e..86d6b1defe98206afc96ddb7d6ab30487007e646 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <i2c.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index adae3f96ca2cb00ea04425b7d12756d0fcbfee09..d03d48bcfaf619dcd1f875c31c88d2bd77ce6e1c 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <i2c.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 512229a380d256ee41011ac04f1cf79e5993f683..d9cb967c220e26eca6a467788c1f32ee4831b5fd 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <i2c.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 125bfa31bf3b2bf6d7e53523390ea98d112e2223..bb18b97e6a2e0162b1ddd2ab429fdc90560d9c15 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <i2c.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index 3bfebb62147cdc9706261ae998ae56d7cfc54f70..0c95607762ed901b84f470a78c38de9d02e067c6 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <i2c.h>
 #include <netdev.h>
 #include <linux/compiler.h>
index a5439166153297c350dcd2dd290c950206071228..1240a9da174f7c7c1e4a72f638bc598b0ade28f7 100644 (file)
@@ -10,6 +10,7 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
 #include <asm/mach-imx/mxc_i2c.h>
+#include <env.h>
 #include <fsl_esdhc_imx.h>
 #include <hwconfig.h>
 #include <power/pmic.h>
index 291edc340df990e0d3938e788022925f3e0f0c33..000897984a6e6f2afb110d3120d3fbfafcecdd02 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <tpm-v1.h>
 #include <malloc.h>
 #include <linux/ctype.h>
index d14a28ec94d0f6fa1960fb182c71cbbf06c05d4e..60faa4688cf8aee16f4c0aff12a483ed8307fbf6 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <hwconfig.h>
 #include <i2c.h>
 #include <spi.h>
index 1fdea675bdadb8570e04020a58209a09ca2b5632..886bc2b035de4399dcb86a8f33ad9f595d08bb7f 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <hwconfig.h>
 #include <i2c.h>
 #include <spi.h>
index 7bdc924a89d50026c52281a8313544b3de555c50..6eb3d6c5d06e998b6c574812c1640c6c22660b95 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
index 77948445e261f89bf33762f62f9cfab24da2abf0..4926419a905aabe9a9b3303c5a10da6f22367910 100644 (file)
@@ -155,6 +155,7 @@ static void usb2_phy_init(void)
 }
 
 #if defined(CONFIG_USB_GADGET) && defined(CONFIG_USB_GADGET_DWC2_OTG)
+#include <env.h>
 #include <usb.h>
 #include <usb/dwc2_udc.h>
 #include <g_dnl.h>
index a63af5fae052f7fa81df7473d1c93f7080bcbdd3..bda5f0df5bceb7adff8d28fb22f07f913bc6ada8 100644 (file)
@@ -18,6 +18,7 @@
 #include <asm/mach-imx/video.h>
 #include <asm/gpio.h>
 #include <asm/spl.h>
+#include <env.h>
 #include <fdt_support.h>
 #include <fsl_esdhc_imx.h>
 #include <gzip.h>
index 4985302d6bc2129c74b2074e3a1d3428f6436e97..b1da5c9982d0f8b0f5447ba9d9e205e3d0923aa2 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <environment.h>
 #include <fdtdec.h>
 #include <i2c.h>
index d294c7ae01367ccb982e0b15dbe91dfa3b2284c3..8c91b75f9677c4ea5d35681cde48fbee7f508d48 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <environment.h>
 #include <fdtdec.h>
 #include <i2c.h>
index 0726776a573fe6beeb979124090f37aa84ed838b..77979704be2bf7b2c55435c27dd817c848b24a57 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <dm.h>
 #include <dm/platform_data/serial_sh.h>
index 7c6100873953019c0562c04e7db5f86066e75e15..bffa85c232519e10d96494ff2149dc3928234395 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <dm.h>
 #include <dm/platform_data/serial_sh.h>
index d07a7ca2aba5af282022705deee40e7fff2fe69d..1bb3b492e293d77b5e26b19206741fe06e3cb2f4 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <dm.h>
 #include <dm/platform_data/serial_sh.h>
index f062bb01725ec4858dc0cf2a7950b162beaa514d..bda3295badb348d8914930bdd4ba42cdeb44ac63 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <environment.h>
 #include <malloc.h>
 #include <netdev.h>
index 2e15a4cbbdc950a546742ec3bc8e37cf75abf9f8..d3afc2a40049e5217af02039d978ac13f06c2480 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <dm.h>
 #include <dm/platform_data/serial_sh.h>
index 59ba262ad73ed4379b10d0d2dac4afb77c4cfe72..bda6a414e65aaeee21605fbd39e950061f1ffbe1 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <dm.h>
 #include <dm/platform_data/serial_sh.h>
index 7c515950d671a96a79ffa27b56f9a1fdb6008fbf..95b5711fdb838d83ae1b5e3e72403fe449fb623c 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <netdev.h>
 #include <dm.h>
index 87eb381345d387d91e26d22affdc099eb8ce9ac2..387d1b91809ca52c980f60d2a84e66328fa07c68 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <dm.h>
 #include <dwc3-uboot.h>
+#include <env.h>
 #include <fdtdec.h>
 #include <asm/io.h>
 #include <errno.h>
index 3e594fd85011c986fcc334102b666adc692062ac..9aa97f0f2cad7782901e03a21459406a56b4ddd4 100644 (file)
@@ -12,6 +12,7 @@
 #include <asm/gpio.h>
 #include <asm/arch/cpu.h>
 #include <dm.h>
+#include <env.h>
 #include <power/pmic.h>
 #include <power/regulator.h>
 #include <power/max77686_pmic.h>
index 622bde5f9f43a49970991c13641ea7ca52ac30ba..676935a843210ea886cbf1bcd4153d1bef14073b 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <errno.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
index eed62e9cac233a460ebf4a1a8186e2d0a38e5ef6..e9bc68049b4bf93fe7172f76e75970ba270839e6 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include "board.h"
+#include <env.h>
 #include <spl.h>
 #include <exports.h>
 #include <fdt_support.h>
index c19d7611c2fd552054d6f561775ee290113057f5..9c86230595b9131d8e50efa6c3c0cdc0bcdc8f1c 100644 (file)
@@ -21,6 +21,7 @@
 #endif
 #include <cli.h>
 #include <console.h>
+#include <env.h>
 #include <flash.h>
 #include <malloc.h>
 #include <mmc.h>
index 4ccce8a736112a3dbbb9b89e143a1388007a2290..fa02fefefa5a5dc78c175b29333d49c4f0d881cf 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <netdev.h>
 #include <linux/compiler.h>
 #include <asm/mmu.h>
index ffa0fcfa874d348b91bd244a39952744c15fdee6..db04dcabc7bc354874b9e143881b1408b77eba3c 100644 (file)
@@ -15,6 +15,7 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/emc.h>
 #include <asm/gpio.h>
+#include <env.h>
 #include <spi.h>
 #include <i2c.h>
 #include <version.h>
index 86c17dc427b19bdcc22a26001161e37e6e2d5cc2..ae6006f85ffa47bae8f3521619166e9e296a4425 100644 (file)
@@ -9,6 +9,7 @@
  */
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <linux/compiler.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index a45bfd139fc39857b9013f9bb5c5466443f436c6..f613cce7e2628053e74b6f8f190cc6990a642060 100644 (file)
@@ -11,6 +11,7 @@
 #include <dm.h>
 #include <efi_loader.h>
 #include <efi_selftest.h>
+#include <env.h>
 #include <errno.h>
 #include <linux/libfdt.h>
 #include <linux/libfdt_env.h>
index 41b341e2e5387f6a1d5485e4f6850554341d0e7c..b326ac9b431a7616ef354caa2301da66d341d636 100644 (file)
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <bootm.h>
 #include <command.h>
+#include <env.h>
 #include <environment.h>
 #include <errno.h>
 #include <image.h>
index 0ae9d5a6815bff39552e124b42635aeb64f1bfcc..3dc2c854aca5c4b7c54bd99b692beaa29360254f 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <command.h>
 #include <ansi.h>
+#include <env.h>
 #include <menu.h>
 #include <watchdog.h>
 #include <malloc.h>
index 9fc2df699d7b659023e5196270a6f490a5eba774..b1c7b5453b3b12b5fb339f819f6244bd190e9a51 100644 (file)
@@ -9,6 +9,7 @@
  */
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <fpga.h>
 #include <fs.h>
 #include <gzip.h>
index fd6f4166f16cf1dad96a681892ce5f96b3fc0352..8b630d71e62dad67c5297182736a994a7f1ae0d5 100644 (file)
@@ -14,6 +14,7 @@
 #include <common.h>
 #include <config.h>
 #include <command.h>
+#include <env.h>
 #include <mapmem.h>
 
 #include <asm/io.h>
index b4d371f3056ffe9b4cf8b628df41b6d5a1e98852..84d2d531f0d43c04dae1bfa0a687f24306b4b905 100644 (file)
@@ -7,6 +7,7 @@
 #include <config.h>
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <vsprintf.h>
 #include <errno.h>
 #include <dm.h>
index 072055b0105767873ba8baf636837b80a34ffb14..47aaaa82201ea60a9bf470d1771032f41c4f1766 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <bootretry.h>
 #include <cli.h>
+#include <env.h>
 #include <errno.h>
 #include <watchdog.h>
 
index f4054fb1fc8002fd829278e187cca6d1826c7cdb..49b910666b9fff195363b3bb6f2f9db675ca5015 100644 (file)
@@ -12,6 +12,7 @@
 #include <cli.h>
 #include <cli_hush.h>
 #include <console.h>
+#include <env.h>
 #include <fdtdec.h>
 #include <malloc.h>
 
index 311880ad56ab33005f344128f051f3d7687fa07e..6c881c133c6139b27c56b2f6561903b5f0495567 100644 (file)
@@ -12,6 +12,7 @@
 #include <bootretry.h>
 #include <cli.h>
 #include <console.h>
+#include <env.h>
 #include <linux/ctype.h>
 
 #define DEBUG_PARSER   0       /* set to 1 to debug */
index 86de5b8f05bd49375c14028057ef2fe5c427b945..baf7924ff6126ede18548c746e28defc65eca635 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <mapmem.h>
 #include <stdio_dev.h>
 #include <linux/ctype.h>
index 719229cc439ccab71c3391e2999fb4807b9a060b..4a578f3ef083b34250e1887a25860669cacbc2a6 100644 (file)
@@ -8,6 +8,7 @@
 
 #ifndef USE_HOSTCC
 #include <common.h>
+#include <env.h>
 #include <watchdog.h>
 
 #ifdef CONFIG_SHOW_BOOT_PROGRESS
index fe052236053c5959b8f632ce43c1ee4795938569..2a6252229ca157f2b3534ea12214bfb0cbc412fb 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0+
 
 #include <common.h>
+#include <env.h>
 #include <spl.h>
 #include <asm/u-boot.h>
 #include <ext4fs.h>
index 163e540622b18823bb082911b421f8c2fb56a2c4..aa371ab52c5606c7529b0817f6d43cf31dc1d1b0 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <spl.h>
 #include <asm/u-boot.h>
 #include <fat.h>
index 79d50577ee16c5d9e37cfd637923d43aa685053c..e15cc847b68c0fdfc61615a87ab271582fa9098a 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <splash.h>
 #include <lcd.h>
 
index 8f276a34ca5d18c23316d1e3b3fcc0fcd5abeef5..d37b4b304c2c2ec77af140091ca8e88bd14d1732 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <bmp_layout.h>
+#include <env.h>
 #include <errno.h>
 #include <fs.h>
 #include <fdt_support.h>
index 9069f4b33aa191284f023fc67baf8af020067a47..25c2ac43450db8b92cba39fbab8dd9c9b47ebe21 100644 (file)
@@ -24,6 +24,7 @@
 #include <common.h>
 #include <command.h>
 #include <dm.h>
+#include <env.h>
 #include <errno.h>
 #include <memalign.h>
 #include <asm/processor.h>
index cc99c6be072044bde788380cfbf231d92a20a277..387373746147dff2e22b99860b37c6fcc405d2b8 100644 (file)
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <console.h>
 #include <dm.h>
+#include <env.h>
 #include <errno.h>
 #include <malloc.h>
 #include <memalign.h>
index 7e842147317194309b5691d0eda004d35545ef1a..8982ef3baed129f13ed8936eecb2380a334c9b0b 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <errno.h>
 #include <ide.h>
 #include <malloc.h>
index 86d008d476e39fe3320f3c04da18ddb70c3fd2f5..5a2bb718b5973e883a99982bc279bf68125b9eca 100644 (file)
@@ -6,6 +6,7 @@
  */
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <ide.h>
 #include "part_amiga.h"
 
index 318949529b302db73867f4bd311aa6203539fe7b..d2b67b18cf020e4288d71806d94d4b3ecaaa2c0d 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <errno.h>
 #include <malloc.h>
 #include <mmc.h>
index 17eca73be0249f7eb93270f86ad6ba563bce7e0e..e76af8ecc320b954b1ab2cf2cde514343f093909 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <fastboot.h>
 #include <net/fastboot.h>
 
index ebe5c8a1043685df302a9e7f155e96a39a2c5273..95cb4341895fcbc3938a035aaa1463f822abd0a5 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <fastboot.h>
 #include <fastboot-internal.h>
 #include <fb_mmc.h>
index 0a335db3a6152b5b7a764ba4820a4b3d4ff26379..b0b19c576252c4e6266939be72cb900dc7041a1a 100644 (file)
@@ -6,6 +6,7 @@
 #include <config.h>
 #include <common.h>
 #include <blk.h>
+#include <env.h>
 #include <fastboot.h>
 #include <fastboot-internal.h>
 #include <fb_mmc.h>
index 9a5dc46207c4664d8e90b82bac59ca672b2f4b9c..98015899f21d9b4a628244ca7337f85781292bbe 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <env.h>
 #include <errno.h>
 #include <i8042.h>
 #include <input.h>
index 4f514dba56d578605c880e44f43299b0d10d0d16..6ab378b979bd94814eb1d06da2d7524e393809e0 100644 (file)
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <console.h>
 #include <dm.h>
+#include <env.h>
 #include <errno.h>
 #include <stdio_dev.h>
 #include <input.h>
index f42eeff8f63cbf235b2abb7afb42be75e6a132f1..88e486e9d570b70ed973ff03e623ab6eb89e50c0 100644 (file)
@@ -5,6 +5,7 @@
  */
 #include <common.h>
 #include <dm.h>
+#include <env.h>
 #include <errno.h>
 #include <blk.h>
 #include <fs.h>
index e3c403c13fc46ec8e922a75e4b6a7c650f97e039..43c2253f10d2d163ed02b014b976aec5281dfa9f 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0+
 
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <net.h>
 #include <netdev.h>
index 61257971258fb23b7fbf7cfbc44ff454d78f3f1b..72d1294751454bd940e6a1b612620822e7409649 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright 2016 Freescale Semiconductor, Inc.
  */
 #include <asm/io.h>
+#include <env.h>
 #include <fsl_qe.h>    /* For struct qe_firmware */
 
 #ifdef CONFIG_SYS_DPAA_FMAN
index cc59b21f9f48193c8b28938f64021bac8608d006..1d96e4bdc2f112c1e47a361925f9401291ad3660 100644 (file)
@@ -5,6 +5,7 @@
  * Copyright 2017-2018 NXP
  */
 #include <common.h>
+#include <env.h>
 #include <errno.h>
 #include <linux/bug.h>
 #include <asm/io.h>
index 88309b186cda2e33e38debfb35e0576e184700a7..41752c0b6af362b2442680e1a2c3141c0ecd6250 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <environment.h>
 #include <malloc.h>
 #include <command.h>
index c08889c4b1114a02321ffcb6ea5c05d8089ac4f0..d8f1dde657974f97aa16cb8af0da3d04ddd13d7b 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <net.h>
 #include <linux/io.h>
index 2b54e3a5499f86f7a81b30b0dcd6aff3918ffc51..a8553cbbc2f02d4119c01be7d617703bf8031c76 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <environment.h>
 #include <malloc.h>
 
index f18e40a2feaadd04379221fbf915a96306f9b20c..0105fc5af1ea3a3fc012b689536617607002b5ed 100644 (file)
@@ -10,6 +10,7 @@
  */
 #include <common.h>
 #include <dm.h>
+#include <env.h>
 #include <errno.h>
 #include <micrel.h>
 #include <phy.h>
index 2d5c97062fdac0557d883bd03fefd2f32721d18f..e2ca4749f7006ca66c8ccad57ce26d8dc41c8c04 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <env.h>
 #include <environment.h>
 #include <malloc.h>
 #include <net.h>
index b4c855668613938267f4f20ec8ac2786ec423aaa..ab5e49941f30e8ac471a5efc318f79180c8ffb41 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <asm/fsl_serdes.h>
 
index e2195726c8a744c7cf65d68f3ce462dd7effae88..5db24f1c51d57e6ef34e390215164e5a85260f2e 100644 (file)
@@ -17,6 +17,7 @@
 #include <common.h>
 
 #include <command.h>
+#include <env.h>
 #include <errno.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index 9f2d2678e37e14abc38a1eab0caabda85b7c33ae..5231b69dc9ad0adf67cf87739df05eaf2e5b055d 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <env.h>
 #include <errno.h>
 #include <pci.h>
 #include <asm/io.h>
index 822a3fe2659f48a3b5923500c847ccfcd5ca0596..93ec9cfdb64a0c5f7cac0c712ff7117c1fbcd5c1 100644 (file)
@@ -16,6 +16,7 @@
 #include <dm.h>
 #include <dm/lists.h>
 #include <dm/of_access.h>
+#include <env.h>
 #include <reset-uclass.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
index c84c8e11b3baf58870c399a5249976f1928d2694..532d2105e12c79c871ae654a09159c8639e83292 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <rtc.h>
 #include <i2c.h>
 
index d0465b844ed975e41336c46c91e9306dc9665f7b..76d9c8a3a6df81f8df4fa2474f09323155310ecf 100644 (file)
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <config.h>
 #include <circbuf.h>
+#include <env.h>
 #include <stdio_dev.h>
 #include <asm/unaligned.h>
 #include "usbtty.h"
index fa947dade6819f7b7c61110125395fb8e25d45cf..432f312cee4c3cca6200c2039688364d61373c5d 100644 (file)
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <asm/io.h>
 
+#include <env.h>
 #include <usbdevice.h>
 #include "ep0.h"
 #include <usb/designware_udc.h>
index e27f146605262792f13f05cae245e5db110abc07..675615513304cbafe0d7d88cda9d7d6a81eddc39 100644 (file)
@@ -14,6 +14,7 @@
  * (C) Copyright 2006 by Harald Welte <hwelte at hmw-consulting.de>
  */
 
+#include <env.h>
 #include <errno.h>
 #include <common.h>
 #include <malloc.h>
index 3ad4346f2d099b77a243dc88394b24f409408473..fc27dbe8de4996e6488adf0b436cf2d036317cc1 100644 (file)
@@ -11,6 +11,7 @@
  */
 #include <config.h>
 #include <common.h>
+#include <env.h>
 #include <errno.h>
 #include <fastboot.h>
 #include <malloc.h>
index f3d24772cdef0b30141e876497018884c30f8b91..1cfeabcd31ae7c318cb9a7136bd87e4e9560a5fd 100644 (file)
@@ -6,6 +6,7 @@
  */
 #include <config.h>
 #include <common.h>
+#include <env.h>
 #include <errno.h>
 #include <malloc.h>
 #include <memalign.h>
index b8f8e7a794fcb4b6bf72112028772792a534f1d6..ced295ef0fa40166228b1360f6f4b8364fb3352e 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <pci.h>
 #include <usb.h>
 #include <asm/io.h>
index 87557e52c075393d335a0be0913a220fb8b370d2..6fce033636906d724ef9abc087aff4096277c99d 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <command.h>
 #include <bios_emul.h>
+#include <env.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <linux/errno.h>
index ac02921d4637c4da5b1876d951bf7a9fab87b50f..e5c077e4f5227367961d3f994b16c61a70a0055d 100644 (file)
@@ -65,6 +65,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <fdtdec.h>
 #include <gzip.h>
 #include <version.h>
index 1a3c970b3d7d3f25089e7b784e202961af40b6b9..301c1f0df17964b7761c9f4ca08732c65a99ac37 100644 (file)
@@ -12,6 +12,7 @@
 #include <common.h>
 
 #include <asm/io.h>
+#include <env.h>
 #include <pci.h>
 #include <video_fb.h>
 #include "videomodes.h"
index 176ae70b7ceef299753506838e5f9a2a1e760134..a984443ef9d7c1222d3b01df5bb4a860b9220b81 100644 (file)
@@ -6,6 +6,7 @@
  * HALE electronic GmbH, <helmut.raiger@hale.at>
  */
 #include <common.h>
+#include <env.h>
 #include <malloc.h>
 #include <video_fb.h>
 
index 6c9a7c05e828d6cc9e3ce6c099ac5eb4ecffe90c..6922a130c61a12ac922c124485f017deb4befbab 100644 (file)
@@ -6,6 +6,7 @@
  */
 #include <common.h>
 #include <dm.h>
+#include <env.h>
 #include <linux/errno.h>
 #include <malloc.h>
 #include <video.h>
index d7614329ffe75e5746fb068b9b18cb9f3a3b5484..ac25b45f8196e67a34cd61182f35695090879b7c 100644 (file)
@@ -58,6 +58,7 @@
 
 #include <common.h>
 #include <edid.h>
+#include <env.h>
 #include <errno.h>
 #include <linux/ctype.h>
 
index 54d2de4a962b37c6553b5e66ef8404a0a2aa0807..95be80d454283f162833e36ebc3298cd7ea42a5f 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <environment.h>
 
 #if defined(CONFIG_NEEDS_MANUAL_RELOC)
index ac2689cc148c43c07c945db22494d0d49a5fe301..8d82cf892ce5d83b7c67d00dfdb685b7fce7e920 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <environment.h>
 #include <linux/stddef.h>
 #if defined(CONFIG_I2C_ENV_EEPROM_BUS)
index df1b37913d57d8f0a03edbd6cb5ac97e75aa6676..a5b1873aaffe05e31cca88ebec702160bd08bfba 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <environment.h>
 #include <linux/stddef.h>
 #include <search.h>
index 739bbd400a4e1b5bd70f7c938ce4e8fc4a7374f1..70f40daa9ee811cad617085c9b3a2439669d5413 100644 (file)
@@ -145,18 +145,6 @@ int do_fat_fsload(cmd_tbl_t *, int, int, char * const []);
 /* common/cmd_ext2.c */
 int do_ext2load(cmd_tbl_t *, int, int, char * const []);
 
-/**
- * env_get() - Look up the value of an environment variable
- *
- * In U-Boot proper this can be called before relocation (which is when the
- * environment is loaded from storage, i.e. GD_FLG_ENV_READY is 0). In that
- * case this function calls env_get_f().
- *
- * @varname:   Variable to look up
- * @return value of variable, or NULL if not found
- */
-char *env_get(const char *varname);
-
 void   pci_init_board(void);
 
 /* common/exports.c */
index 6770a6176dfcb36e6c48e6a1b080057cbc101181..297fd7a071f6cb8873bcecce68d7f2096e2d305b 100644 (file)
@@ -51,6 +51,18 @@ void env_relocate(void);
  */
 int env_match(unsigned char *name, int index);
 
+/**
+ * env_get() - Look up the value of an environment variable
+ *
+ * In U-Boot proper this can be called before relocation (which is when the
+ * environment is loaded from storage, i.e. GD_FLG_ENV_READY is 0). In that
+ * case this function calls env_get_f().
+ *
+ * @varname:   Variable to look up
+ * @return value of variable, or NULL if not found
+ */
+char *env_get(const char *varname);
+
 /**
  * env_get_f() - Look up the value of an environment variable (early)
  *
index 6c8229da42aa922731b8665a22fde49e0a03c0ac..d4765afb98498600b9d97cd2c4a3454046eb057d 100644 (file)
@@ -9,6 +9,7 @@
 #include <charset.h>
 #include <dm/device.h>
 #include <efi_loader.h>
+#include <env.h>
 #include <stdio_dev.h>
 #include <video_console.h>
 
index e8ee55c4aeb941bb46218be5d34e2dc27f28dd9f..7b74971f68783205c2dfaab9e5a30f24b72139f4 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <mapmem.h>
 #include <smbios.h>
 #include <tables_csum.h>
index 31cdef4083a2e7afc183159f9552e9a00564193b..dd9fcad0874d236871f7967a63301f0924d7b556 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <net.h>
 #include "arp.h"
 #include "net_rand.h"
index 34488b76c8449bfadcec17000da44e41181d9f12..5a69bca6413c14326c385134c3b92f9f1a6705fe 100644 (file)
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <command.h>
 #include <efi_loader.h>
+#include <env.h>
 #include <mapmem.h>
 #include <net.h>
 #include <net/tftp.h>