env: Replace all open-coded gd->env_valid values with ENV_ flags
authorSimon Glass <sjg@chromium.org>
Sun, 20 Aug 2017 10:45:15 +0000 (04:45 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 20 Aug 2017 23:27:44 +0000 (19:27 -0400)
commit2d7cb5b426e7e0cdf684d7f8029ad132d7a8d383
treed065adc9532ed66f8fde2109f679d2d8f155d02d
parentc55d8b940047050176ded2e24be74f4a97e093e3
env: Replace all open-coded gd->env_valid values with ENV_ flags

Some of these were missed in the conversion.
Signed-off-by: Simon Glass <sjg@chromium.org>
env/common.c
env/eeprom.c
env/env.c
env/flash.c
env/nand.c
env/nvram.c