Skip to content
Snippets Groups Projects
Simon Glass's avatar
Simon Glass authored
The declaration of U_BOOT_ENV_LOCATION() uses a different #ifdef
condition from the code it calls. Use the same condition to avoid a
build warning if CONFIG_CMD_SAVEENV is disabled.

Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
f7fac5e7
History