Correct SPL uses of ENV_IS_IN_UBI

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_ENV_IS_IN_UBI defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-02-05 15:39:48 -07:00 committed by Tom Rini
parent bed722328b
commit 821d1df52a
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ enum env_location env_get_location(enum env_operation op, int prio)
case BOOT_FLASH_NAND:
case BOOT_FLASH_SPINAND:
if (CONFIG_IS_ENABLED(ENV_IS_IN_UBI))
if (IS_ENABLED(CONFIG_ENV_IS_IN_UBI))
return ENVL_UBI;
else
return ENVL_NOWHERE;

View file

@ -831,7 +831,7 @@ enum env_location env_get_location(enum env_operation op, int prio)
case BOOT_FLASH_NAND:
case BOOT_FLASH_SPINAND:
if (CONFIG_IS_ENABLED(ENV_IS_IN_UBI))
if (IS_ENABLED(CONFIG_ENV_IS_IN_UBI))
return ENVL_UBI;
else
return ENVL_NOWHERE;