]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit4070183f575e365499993a55afbf61e0bc64f46b
tree10eacede3b5e5e51bac424bd54036dedb97c4d8f
parent24add13b5bf0326725ac043bee625ac3319ba6e9
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