u-boot/env
Simon Goldschmidt 80719938c9 env: sf: use env_import_redund to simplify env_sf_load
For the redundant environment configuration, env_sf_load still
contained duplicate code instead of using env_import_redund().

Simplify the code by only executing the load twice and delegating
everything else to env_import_redund.

Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2018-02-01 08:05:53 -05:00
..
attr.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
callback.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
common.c env: move more common code to env_import_redund 2018-02-01 08:05:49 -05:00
eeprom.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00
embedded.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
env.c env: Mark env_get_location as weak 2018-01-27 09:23:22 -05:00
ext4.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00
fat.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00
flags.c env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
flash.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00
Kconfig env: sunxi: Enable FAT-based environment support by default 2018-01-27 09:23:32 -05:00
Makefile env: Drop CONFIG_ENV_IS_IN_DATAFLASH 2017-10-16 09:42:51 -04:00
mmc.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00
nand.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00
nowhere.c env: Correct case of no sub-init function 2017-08-20 19:27:28 -04:00
nvram.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00
onenand.c env: make env_import(_redund) return 0 on success, not 1 2018-01-31 18:45:10 -05:00
remote.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00
sata.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00
sf.c env: sf: use env_import_redund to simplify env_sf_load 2018-02-01 08:05:53 -05:00
ubi.c env: make env drivers propagate env_import return value 2018-02-01 08:05:53 -05:00