env: mmc: Fix test for ENV_IS_EMBEDDED
PATCH 1/1 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]>
--- env/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
env/mmc.c +1 -1
@@ -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 ();
Signature · 1 line
2.43.0
Quoted 5 lines · Tom Rini
The symbol "
ENV_IS_EMBEDDED" is an environment internal define and not a real CONFIG symbol. TheIS_ENABLED()macro is still valid to use here, so update the check.
Applied to u-boot/master, thanks!
[1/1] env: mmc: Fix test for ENV_IS_EMBEDDED
commit: 684aea3132031b124d8e54c9aa99a244b81d3a49
Signature · 1 line
Tom