From: Simon Glass <sjg@chromium.org>
Date: Sun, 5 Feb 2023 22:36:38 +0000 (-0700)
Subject: Correct SPL use of CMD_PSTORE
X-Git-Tag: v2025.01-rc5-pxa1908~1114^2~92
X-Git-Url: http://git.dujemihanovic.xyz/%22mailto:Murray.Jensen%40csiro.au/static/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=39c0da4186bf251e16b8257657639596aaadf1f9;p=u-boot.git

Correct SPL use of CMD_PSTORE

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>
---

diff --git a/boot/image-fdt.c b/boot/image-fdt.c
index 408abce096..714d05d1a5 100644
--- a/boot/image-fdt.c
+++ b/boot/image-fdt.c
@@ -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