mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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 <lihua.zhao@windriver.com> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
93330d4ce4
commit
0df27d687c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue