The symbol "ENV_IS_EMBEDDED" is an environment internal define and not a real CONFIG symbol. The IS_ENABLED() macro is still valid to use here, so update the check.
Signed-off-by: Tom Rini <tr...@konsulko.com> --- env/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env/mmc.c b/env/mmc.c index 2ef15fb72e7b..8848371eb4f5 100644 --- a/env/mmc.c +++ b/env/mmc.c @@ -553,7 +553,7 @@ err: static int env_mmc_load(void) { - if (IS_ENABLED(CONFIG_ENV_IS_EMBEDDED)) + if (IS_ENABLED(ENV_IS_EMBEDDED)) return 0; else if (IS_ENABLED(CONFIG_SYS_REDUNDAND_ENVIRONMENT)) return env_mmc_load_redundant(); -- 2.43.0