From: Simon Glass Date: Sun, 5 Feb 2023 22:36:29 +0000 (-0700) Subject: Correct SPL use of CMD_ERASEENV X-Git-Tag: baikal/mips/sdk5.8.2~5^2~53^2~101 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=dc07c3fb4bd6f76b46d17be25960c00e23120f20;p=uboot.git Correct SPL use of CMD_ERASEENV This converts 1 usage of this option to the non-SPL form, since there is no SPL_CMD_ERASEENV defined in Kconfig Signed-off-by: Simon Glass --- diff --git a/include/env_internal.h b/include/env_internal.h index aee6b3e48f..6a69494646 100644 --- a/include/env_internal.h +++ b/include/env_internal.h @@ -189,7 +189,7 @@ struct env_driver { #endif #define ENV_SAVE_PTR(x) (CONFIG_IS_ENABLED(SAVEENV) ? (x) : NULL) -#define ENV_ERASE_PTR(x) (CONFIG_IS_ENABLED(CMD_ERASEENV) ? (x) : NULL) +#define ENV_ERASE_PTR(x) (IS_ENABLED(CONFIG_CMD_ERASEENV) ? (x) : NULL) extern struct hsearch_data env_htab;