summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:36:29 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 00:32:25 +0300
commitcbacacd5c18e4fac64868112f970345d7732123b (patch)
treeee73ee0960db5ccfe85500c4462f9d034a838458 /include
parent6cd3a797ee0e30be19501274a2bf6283a916fb80 (diff)
downloadu-boot-cbacacd5c18e4fac64868112f970345d7732123b.tar.xz
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 <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/env_internal.h2
1 files changed, 1 insertions, 1 deletions
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;