]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: env: Unify the U_BOOT_ENV_LOCATION conditions
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:04:51 +0000 (14:04 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commitf7fac5e7f5a29e6c0e0de61b08caaaa32df0c6fd
treebb5e41846c2d8b0b165ba8af7976a45e95bf2dcb
parent1d38722e012c4ca496d5069b95a60bd3392ccf9e
mmc: env: Unify the U_BOOT_ENV_LOCATION conditions

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 <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
env/mmc.c