efi_firmware_raw_get_image_info and efi_firmware_fit_get_image_info

Sughosh Ganu sughosh.ganu at linaro.org
Wed Jun 1 09:40:25 CEST 2022


hello Heinrich,

On Wed, 1 Jun 2022 at 11:11, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Hello Sughosh,
>
> I can't see any difference between efi_firmware_raw_get_image_info() and
> efi_firmware_fit_get_image_info(). Shouldn't we replace them by a single
> function to avoid maintaining duplicate code?

The two functions can indeed be refactored into a single function. I
will add this patch to the miscellaneous capsule fixes series that I
posted yesterday. Thanks.

-sughosh

>
> Best regards
>
> Heinrich


More information about the U-Boot mailing list