u-boot-brain/env
Simon Glass c595199194 env: Adjust the load() method to return an error
The load() methods have inconsistent behaviour on error. Some of them load
an empty default environment. Some load an environment containing an error
message. Others do nothing.

As a step in the right direction, have the method return an error code.
Then the caller could handle this itself in a consistent way.

Signed-off-by: Simon Glass <sjg@chromium.org>
2017-08-16 08:31:24 -04: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: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
dataflash.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
eeprom.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
embedded.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
env.c env: Drop saveenv() in favour of env_save() 2017-08-15 20:50:30 -04:00
ext4.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
fat.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
flags.c env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
flash.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
Kconfig env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
Makefile env: Add a new implementation of environment access 2017-08-15 20:50:26 -04:00
mmc.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
nand.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
nowhere.c env: Drop unused env_ptr variables 2017-08-15 20:50:28 -04:00
nvram.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
onenand.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
remote.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
sata.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
sf.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
ubi.c env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00