Correct SPL use of CMD_PSTORE
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:38 +0000 (15:36 -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_CMD_PSTORE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/image-fdt.c

index 408abce..714d05d 100644 (file)
@@ -638,7 +638,7 @@ int image_setup_libfdt(struct bootm_headers *images, void *blob,
 
        /* Update ethernet nodes */
        fdt_fixup_ethernet(blob);
-#if CONFIG_IS_ENABLED(CMD_PSTORE)
+#if IS_ENABLED(CONFIG_CMD_PSTORE)
        /* Append PStore configuration */
        fdt_fixup_pstore(blob);
 #endif