From: Tom Rini Date: Tue, 1 Apr 2025 16:21:25 +0000 (-0600) Subject: env: mmc: Fix test for ENV_IS_EMBEDDED X-Git-Tag: v2025.07-rc1~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=684aea3132031b124d8e54c9aa99a244b81d3a49;p=pandora-u-boot.git env: mmc: Fix test for ENV_IS_EMBEDDED 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 --- diff --git a/env/mmc.c b/env/mmc.c index 2ef15fb72e7..8848371eb4f 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();