[v4,3/3] fwu: Move boottime checks to EVT_POST_PREBOOT

Simon Glass sjg at chromium.org
Thu Apr 2 18:14:21 CEST 2026


On 2026-04-02T15:36:57, Michal Simek <michal.simek at amd.com> wrote:
> fwu: Move boottime checks to EVT_POST_PREBOOT
> fwu: Move boottime checks to EVT_POST_PREBOOT
>
> Switch fwu_boottime_checks() from EVT_MAIN_LOOP to EVT_POST_PREBOOT
> because there is no reason to call FWU so early. FWU triggers EFI
> stack initialization before all devices are visible which prevents
> the EFI stack from scanning these devices and adding them to EFI
> variables.
>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
>
> lib/fwu_updates/fwu.c | 2 +-
>  test/dm/fwu_mdata.c   | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list