]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of ENV_WRITEABLE_LIST
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:39:50 +0000 (15:39 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
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>
lib/hashtable.c

index 90c8465611e9b7de752ea9432bab90e4cb2175a9..f2d36bd34b4c8efcacd200e311938d8bb18c40cd 100644 (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);