Correct SPL use of ENV_WRITEABLE_LIST

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_ENV_WRITEABLE_LIST defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-02-05 15:39:50 -07:00 committed by Tom Rini
parent b2561c5bea
commit 28de1e06c9

View File

@ -942,7 +942,7 @@ int himport_r(struct hsearch_data *htab,
e.data = value;
hsearch_r(e, ENV_ENTER, &rv, htab, flag);
#if !CONFIG_IS_ENABLED(ENV_WRITEABLE_LIST)
#if !IS_ENABLED(CONFIG_ENV_WRITEABLE_LIST)
if (rv == NULL) {
printf("himport_r: can't insert \"%s=%s\" into hash table\n",
name, value);