Skip to content

Commit

Permalink
env: Move env_get() to env.h
Browse files Browse the repository at this point in the history
Move env_get() over to the new header file.

Acked-by: Joe Hershberger <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 authored and trini committed Aug 11, 2019
1 parent 9fb625c commit 7b51b57
Show file tree
Hide file tree
Showing 129 changed files with 139 additions and 12 deletions.
1 change: 1 addition & 0 deletions arch/arm/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-imx/video.c
Original file line number Diff line number Diff line change
@@ -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>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-kirkwood/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <common.h>
#include <env.h>
#include <netdev.h>
#include <asm/cache.h>
#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/m68k/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <image.h>
#include <u-boot/zlib.h>
#include <bzlib.h>
Expand Down
1 change: 1 addition & 0 deletions arch/microblaze/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/nds32/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc85xx/mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


#include <common.h>
#include <env.h>
#include <watchdog.h>
#include <command.h>
#include <image.h>
Expand Down
1 change: 1 addition & 0 deletions arch/xtensa/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/BuS/eb_cpu5282/eb_cpu5282.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 1 addition & 0 deletions board/CarMediaLab/flea3/flea3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/bluegiga/apx4devkit/apx4devkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/bluewater/gurnard/gurnard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions board/broadcom/bcm23550_w1d/bcm23550_w1d.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/broadcom/bcm28155_ap/bcm28155_ap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/compulab/common/omap3_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/bsc9131rdb/bsc9131rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/bsc9132qds/bsc9132qds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/c29xpcie/c29xpcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/common/vid.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <i2c.h>
#include <asm/io.h>
#ifdef CONFIG_FSL_LSCH2
Expand Down
1 change: 1 addition & 0 deletions board/freescale/corenet_ds/corenet_ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <netdev.h>
#include <linux/compiler.h>
#include <asm/mmu.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/ls1088a/eth_ls1088aqds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/ls1088a/ls1088a.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright 2017-2018 NXP
*/
#include <common.h>
#include <env.h>
#include <i2c.h>
#include <malloc.h>
#include <errno.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/ls2080aqds/eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <env.h>
#include <netdev.h>
#include <asm/io.h>
#include <asm/arch/fsl_serdes.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/ls2080aqds/ls2080aqds.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright 2015 Freescale Semiconductor
*/
#include <common.h>
#include <env.h>
#include <malloc.h>
#include <errno.h>
#include <netdev.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/lx2160a/eth_lx2160aqds.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <env.h>
#include <hwconfig.h>
#include <command.h>
#include <netdev.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/mpc837xemds/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/mpc8572ds/mpc8572ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/mmu.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/mx51evk/mx51evk_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <env.h>
#include <linux/list.h>
#include <asm/gpio.h>
#include <asm/arch/iomux-mx51.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/mx53loco/mx53loco_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <env.h>
#include <linux/list.h>
#include <asm/gpio.h>
#include <asm/arch/iomux-mx53.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/p1010rdb/p1010rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/p1022ds/p1022ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/mmu.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/p1023rdb/p1023rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <pci.h>
#include <asm/io.h>
#include <asm/cache.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <hwconfig.h>
#include <pci.h>
#include <i2c.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/p1_twr/p1_twr.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <hwconfig.h>
#include <pci.h>
#include <i2c.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/p2041rdb/p2041rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <netdev.h>
#include <linux/compiler.h>
#include <asm/mmu.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/t102xqds/t102xqds.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <i2c.h>
#include <netdev.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/t102xrdb/t102xrdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <i2c.h>
#include <netdev.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/t1040qds/t1040qds.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <i2c.h>
#include <netdev.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/t104xrdb/t104xrdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <hwconfig.h>
#include <netdev.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/t208xqds/t208xqds.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <i2c.h>
#include <netdev.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/t208xrdb/t208xrdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <i2c.h>
#include <netdev.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/t4qds/t4240emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <i2c.h>
#include <netdev.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/t4qds/t4240qds.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <i2c.h>
#include <netdev.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions board/freescale/t4rdb/t4240rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <i2c.h>
#include <netdev.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions board/gateworks/gw_ventana/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions board/gdsys/a38x/keyprogram.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <env.h>
#include <tpm-v1.h>
#include <malloc.h>
#include <linux/ctype.h>
Expand Down
1 change: 1 addition & 0 deletions board/gdsys/mpc8308/hrcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <env.h>
#include <hwconfig.h>
#include <i2c.h>
#include <spi.h>
Expand Down
1 change: 1 addition & 0 deletions board/gdsys/mpc8308/strider.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <env.h>
#include <hwconfig.h>
#include <i2c.h>
#include <spi.h>
Expand Down
1 change: 1 addition & 0 deletions board/gdsys/p1022/controlcenterd.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <common.h>
#include <command.h>
#include <env.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/mmu.h>
Expand Down
Loading

0 comments on commit 7b51b57

Please sign in to comment.