[PATCH] fwu: Initialize global fwu library state during CI test

Tom Rini trini at konsulko.com
Thu Aug 31 18:26:58 CEST 2023


On Wed, Aug 23, 2023 at 02:16:52AM +0200, Marek Vasut wrote:

> The current CI test worked by sheer luck, the g_dev global pointer
> in the fwu library was never initialized and the test equally well
> failed on sandbox64. Trigger the main loop in sandbox tests too to
> initialize that global state, and move the sandbox specific exit
> from fwu_boottime_checks after g_dev is initialized.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Acked-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, 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/20230831/5dc8011b/attachment.sig>


More information about the U-Boot mailing list