git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd3a79
)
Correct SPL use of CMD_ERASEENV
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:36:29 +0000
(15:36 -0700)
committer
Tom Rini
<trini@konsulko.com>
Thu, 9 Feb 2023 21:32:25 +0000
(16:32 -0500)
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>
include/env_internal.h
patch
|
blob
|
history
diff --git
a/include/env_internal.h
b/include/env_internal.h
index
aee6b3e
..
6a69494
100644
(file)
--- 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;