env: Drop common init() functions
authorSimon Glass <sjg@chromium.org>
Thu, 3 Aug 2017 18:22:02 +0000 (12:22 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 16 Aug 2017 00:50:27 +0000 (20:50 -0400)
commit7938822a6b75b69fff9793b6b1769dddf1249525
tree10eacede3b5e5e51bac424bd54036dedb97c4d8f
parente5bce247b01ae057f05cc80178f0df28ec1d27a7
env: Drop common init() functions

Most of the init() implementations just use the default environment.
Adjust env_init_new() to do this automatically, and drop the redundant
code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
13 files changed:
env/dataflash.c
env/eeprom.c
env/env.c
env/ext4.c
env/fat.c
env/mmc.c
env/nowhere.c
env/onenand.c
env/remote.c
env/sata.c
env/sf.c
env/ubi.c
include/environment.h