diff --git a/common/image-fit.c b/common/image-fit.c index 78d354f03d..a46c2318f1 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -722,7 +722,7 @@ bool fit_image_is_preload(const void *fit, int noffset) return false; } - if (*data != 1) + if (fdt32_to_cpu(*data) != 1) return false; return true;