]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: Rename getenv/_f() to env_get()
authorSimon Glass <sjg@chromium.org>
Thu, 3 Aug 2017 18:22:12 +0000 (12:22 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 16 Aug 2017 12:30:24 +0000 (08:30 -0400)
commit00caae6d47645e68d6e5277aceb69592b49381a6
treec361aa0cea3093b93c1118266fe9e2b44ac6e453
parentfd1e959e91d2b0b2e853d09dd9167dfff18a616c
env: Rename getenv/_f() to env_get()

We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.

Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.

Suggested-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
213 files changed:
README
api/api.c
arch/arc/lib/bootm.c
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/lib/bootm.c
arch/arm/mach-imx/video.c
arch/arm/mach-keystone/ddr3.c
arch/arm/mach-keystone/keystone.c
arch/arm/mach-kirkwood/cpu.c
arch/arm/mach-omap2/utils.c
arch/arm/mach-tegra/tegra186/nvtboot_board.c
arch/arm/mach-uniphier/board_late_init.c
arch/m68k/lib/bootm.c
arch/microblaze/lib/bootm.c
arch/mips/lib/bootm.c
arch/nds32/lib/bootm.c
arch/nios2/lib/bootm.c
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
arch/powerpc/lib/bootm.c
arch/sh/lib/bootm.c
arch/sh/lib/zimageboot.c
arch/x86/lib/zimage.c
arch/xtensa/lib/bootm.c
board/Arcturus/ucp1020/cmd_arc.c
board/Arcturus/ucp1020/ucp1020.c
board/Barix/ipam390/ipam390.c
board/BuR/common/common.c
board/BuS/eb_cpu5282/eb_cpu5282.c
board/CarMediaLab/flea3/flea3.c
board/LaCie/net2big_v2/net2big_v2.c
board/LaCie/netspace_v2/netspace_v2.c
board/amazon/kc1/kc1.c
board/amlogic/odroid-c2/odroid-c2.c
board/aristainetos/aristainetos-v2.c
board/atmel/sama5d2_xplained/sama5d2_xplained.c
board/birdland/bav335x/board.c
board/bluegiga/apx4devkit/apx4devkit.c
board/bluewater/gurnard/gurnard.c
board/bosch/shc/board.c
board/boundary/nitrogen6x/nitrogen6x.c
board/broadcom/bcm23550_w1d/bcm23550_w1d.c
board/broadcom/bcm28155_ap/bcm28155_ap.c
board/cadence/xtfpga/xtfpga.c
board/compulab/cl-som-am57x/eth.c
board/compulab/cm_fx6/cm_fx6.c
board/compulab/common/omap3_display.c
board/congatec/cgtqmx6eval/cgtqmx6eval.c
board/davinci/da8xxevm/da850evm.c
board/davinci/da8xxevm/omapl138_lcdk.c
board/esd/meesc/meesc.c
board/freescale/b4860qds/b4860qds.c
board/freescale/common/sys_eeprom.c
board/freescale/common/vid.c
board/freescale/ls2080aqds/eth.c
board/freescale/ls2080aqds/ls2080aqds.c
board/freescale/ls2080ardb/ls2080ardb.c
board/freescale/mpc837xemds/pci.c
board/freescale/mpc837xerdb/mpc837xerdb.c
board/freescale/mx51evk/mx51evk_video.c
board/freescale/mx53loco/mx53loco_video.c
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
board/freescale/t4qds/t4240qds.c
board/gateworks/gw_ventana/common.c
board/gateworks/gw_ventana/gw_ventana.c
board/gateworks/gw_ventana/gw_ventana_spl.c
board/gdsys/a38x/keyprogram.c
board/gdsys/mpc8308/hrcon.c
board/gdsys/mpc8308/strider.c
board/gdsys/p1022/controlcenterd-id.c
board/gdsys/p1022/controlcenterd.c
board/grinn/chiliboard/board.c
board/grinn/liteboard/board.c
board/highbank/highbank.c
board/intel/edison/edison.c
board/keymile/common/common.c
board/keymile/common/ivm.c
board/keymile/km_arm/km_arm.c
board/keymile/kmp204x/kmp204x.c
board/kosagi/novena/novena.c
board/lg/sniper/sniper.c
board/liebherr/mccmon6/mccmon6.c
board/logicpd/omap3som/omap3logic.c
board/micronas/vct/vct.c
board/nokia/rx51/rx51.c
board/raspberrypi/rpi/rpi.c
board/samsung/common/exynos5-dt.c
board/samsung/odroid/odroid.c
board/samtec/vining_2000/vining_2000.c
board/samtec/vining_fpga/socfpga.c
board/siemens/common/board.c
board/siemens/taurus/taurus.c
board/socrates/socrates.c
board/st/stm32f429-discovery/stm32f429-discovery.c
board/sunxi/board.c
board/syteco/zmx25/zmx25.c
board/tcl/sl50/board.c
board/technexion/twister/twister.c
board/teejet/mt_ventoux/mt_ventoux.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/ks2_evm/board.c
board/toradex/apalis_imx6/apalis_imx6.c
board/toradex/common/tdx-cfg-block.c
board/varisys/common/sys_eeprom.c
board/vscom/baltos/board.c
board/work-microwave/work_92105/work_92105_display.c
board/xes/common/board.c
board/xilinx/zynqmp/zynqmp.c
cmd/bdinfo.c
cmd/bootm.c
cmd/bootmenu.c
cmd/cramfs.c
cmd/elf.c
cmd/fpga.c
cmd/gpt.c
cmd/ini.c
cmd/itest.c
cmd/jffs2.c
cmd/load.c
cmd/log.c
cmd/md5sum.c
cmd/mtdparts.c
cmd/mvebu/bubt.c
cmd/nand.c
cmd/net.c
cmd/nvedit.c
cmd/pxe.c
cmd/qfw.c
cmd/reiser.c
cmd/setexpr.c
cmd/zfs.c
common/autoboot.c
common/bootm.c
common/bootm_os.c
common/bootretry.c
common/cli.c
common/cli_hush.c
common/cli_simple.c
common/console.c
common/fb_mmc.c
common/fdt_support.c
common/hash.c
common/hwconfig.c
common/image-android.c
common/image-fdt.c
common/image.c
common/lcd.c
common/main.c
common/spl/Kconfig
common/spl/spl_dfu.c
common/spl/spl_ext.c
common/spl/spl_fat.c
common/splash.c
common/splash_source.c
common/update.c
common/usb_hub.c
common/usb_kbd.c
disk/part.c
disk/part_amiga.c
drivers/ddr/fsl/fsl_ddr_gen4.c
drivers/ddr/fsl/interactive.c
drivers/ddr/fsl/options.c
drivers/dfu/dfu.c
drivers/dfu/dfu_mmc.c
drivers/input/i8042.c
drivers/input/input.c
drivers/mtd/cfi_flash.c
drivers/net/fec_mxc.c
drivers/net/fm/b4860.c
drivers/net/fm/fdt.c
drivers/net/fsl-mc/mc.c
drivers/net/netconsole.c
drivers/net/phy/micrel_ksz90x1.c
drivers/pci/fsl_pci_init.c
drivers/pci/pci.c
drivers/pci/pci_common.c
drivers/rtc/m41t60.c
drivers/serial/usbtty.c
drivers/usb/gadget/designware_udc.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/f_dfu.c
drivers/usb/gadget/f_fastboot.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/common.c
env/flags.c
fs/fs.c
include/_exports.h
include/asm-generic/global_data.h
include/common.h
include/exports.h
include/image.h
lib/smbios.c
net/bootp.c
net/eth-uclass.c
net/eth_common.c
net/eth_legacy.c
net/net.c
net/tftp.c
post/post.c
test/command_ut.c
test/dm/eth.c