]> git.baikalelectronics.ru Git - uboot.git/commit
common: spl_fit: Default to IH_OS_U_BOOT if FIT_IMAGE_TINY enabled
authorAbel Vesa <abel.vesa@nxp.com>
Tue, 12 Mar 2019 08:34:31 +0000 (08:34 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 22 Mar 2019 16:15:05 +0000 (12:15 -0400)
commit084469f8e6e65bb95fa6888406cc589d208b27f4
tree863ca109e40c3d7861182e8f8ed571f0a474abb7
parent8fbec5d21f0c88c48f961ecceb9ccec04756caf6
common: spl_fit: Default to IH_OS_U_BOOT if FIT_IMAGE_TINY enabled

If FIT_IMAGE_TINY is enabled, spl_fit_image_get_os returns -ENOTSUPP.
In this case, we should default to IH_OS_U_BOOT not to IH_OS_INVALID.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Tested-by: Fabio Estevam <festevam@gmail.com>
common/spl/spl_fit.c