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