mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user