[PATCH v3 5/6] image-fit: Accept IH_TYPE_FIRMWARE in fit_image_load() as valid
Tom Rini
trini at konsulko.com
Fri Apr 16 14:26:30 CEST 2021
On Thu, Apr 01, 2021 at 01:25:30PM -0500, Alexandru Gagniuc wrote:
> Consider the following FIT:
>
> images {
> whipple {};
> };
> configurations {
> conf-1 {
> firmware = "whipple";
> };
> };
>
> Getting the 'firmware' image with fit_image_load() is not possible, as
> it doesn't understand 'firmware =' properties. Although one could pass
> IH_TYPE_FIRMWARE for 'image_type', this needs to be converted to a
> "firmware" string for FDT lookup -- exactly what this change does.
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210416/58314a1f/attachment.sig>
More information about the U-Boot
mailing list