env: Move get/set_default_env() to env.h
authorSimon Glass <sjg@chromium.org>
Thu, 1 Aug 2019 15:47:00 +0000 (09:47 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
commit0ac7d722ede8e64973f68dbcd07b9521ba04cb63
tree179942d65436fafe8d1c3193bd15913f3b2c5f18
parent1f3db0c135fcaf40ff88bdcd058b56bc7e1f58f3
env: Move get/set_default_env() to env.h

Move these functions to the new header file and rename set_default_env()
to env_set_default() so that it has a consistent env_ prefix.

Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
15 files changed:
arch/arm/mach-imx/mx6/opos6ul.c
board/phytec/pcm052/pcm052.c
cmd/nvedit.c
common/board_r.c
common/spl/spl_dfu.c
env/common.c
env/ext4.c
env/fat.c
env/mmc.c
env/nand.c
env/sata.c
env/sf.c
env/ubi.c
include/env.h
include/environment.h