mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-04 10:43:35 +00:00
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 <trini@konsulko.com>
This commit is contained in:
parent
dc54d1e480
commit
684aea3132
1 changed files with 1 additions and 1 deletions
2
env/mmc.c
vendored
2
env/mmc.c
vendored
|
@ -553,7 +553,7 @@ err:
|
||||||
|
|
||||||
static int env_mmc_load(void)
|
static int env_mmc_load(void)
|
||||||
{
|
{
|
||||||
if (IS_ENABLED(CONFIG_ENV_IS_EMBEDDED))
|
if (IS_ENABLED(ENV_IS_EMBEDDED))
|
||||||
return 0;
|
return 0;
|
||||||
else if (IS_ENABLED(CONFIG_SYS_REDUNDAND_ENVIRONMENT))
|
else if (IS_ENABLED(CONFIG_SYS_REDUNDAND_ENVIRONMENT))
|
||||||
return env_mmc_load_redundant();
|
return env_mmc_load_redundant();
|
||||||
|
|
Loading…
Add table
Reference in a new issue