summaryrefslogtreecommitdiff
path: root/boot/image-fit-sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/image-fit-sig.c')
-rw-r--r--boot/image-fit-sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/image-fit-sig.c b/boot/image-fit-sig.c
index fe328df4a85..35873b1fb0e 100644
--- a/boot/image-fit-sig.c
+++ b/boot/image-fit-sig.c
@@ -48,7 +48,7 @@ struct image_region *fit_region_make_list(const void *fit,
* Use malloc() except in SPL (to save code size). In SPL the caller
* must allocate the array.
*/
- if (!IS_ENABLED(CONFIG_SPL_BUILD) && !region)
+ if (!IS_ENABLED(CONFIG_XPL_BUILD) && !region)
region = calloc(sizeof(*region), count);
if (!region)
return NULL;