u-boot/env
Simon Glass 5fc5254084 env: common: Factor out the common env_valid check
The check for gd->env_valid is used in both the 'if' and 'else' part of
env_get_char(). Move it into that function instead for simplicity. Drop
that code from the two leaf functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
2017-08-15 08:18:46 -04:00
..
attr.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
callback.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
common.c env: common: Factor out the common env_valid check 2017-08-15 08:18:46 -04:00
dataflash.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
eeprom.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
embedded.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
ext4.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
fat.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
flags.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
flash.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
Kconfig env: Use tabs in ENV_IS_IN_FAT 2017-08-15 08:18:46 -04:00
Makefile Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
mmc.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
nand.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
nowhere.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
nvram.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
onenand.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
remote.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
sata.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
sf.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00
ubi.c Move environment files from common/ to env/ 2017-08-15 08:18:45 -04:00