summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-04-01 10:21:25 -0600
committerTom Rini <[email protected]>2025-04-10 11:58:04 -0600
commit684aea3132031b124d8e54c9aa99a244b81d3a49 (patch)
treed43bafd0b02baff1be5aa6d9706c650803e9370e
parentdc54d1e48052fe8712f68a8fcbe324602c7935e8 (diff)
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 <[email protected]>
-rw-r--r--env/mmc.c2
1 files changed, 1 insertions, 1 deletions
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();