From: Lihua Zhao Date: Wed, 18 Mar 2020 14:32:07 +0000 (-0700) Subject: image-fit: Allow loading FIT image for VxWorks X-Git-Tag: v2020.04-rc5~14^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0df27d687c4639208d6e378907ca00f68cd06da6;p=oweals%2Fu-boot.git image-fit: Allow loading FIT image for VxWorks This adds the check against IH_OS_VXWORKS during FIT image load, to allow loading FIT image for VxWorks. Signed-off-by: Lihua Zhao Signed-off-by: Bin Meng Reviewed-by: Bin Meng --- diff --git a/common/image-fit.c b/common/image-fit.c index 4435bc4f1d..6da69d25ff 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -2007,7 +2007,8 @@ int fit_image_load(bootm_headers_t *images, ulong addr, fit_image_check_os(fit, noffset, IH_OS_LINUX) || fit_image_check_os(fit, noffset, IH_OS_U_BOOT) || fit_image_check_os(fit, noffset, IH_OS_OPENRTOS) || - fit_image_check_os(fit, noffset, IH_OS_EFI); + fit_image_check_os(fit, noffset, IH_OS_EFI) || + fit_image_check_os(fit, noffset, IH_OS_VXWORKS); /* * If either of the checks fail, we should report an error, but