Skip to content

Commit

Permalink
ArmPkg: Dispatch deferred images after EndOfDxe
Browse files Browse the repository at this point in the history
Third party driver images loaded from Option ROM get queued
for execution after EndOfDxe. These queued images need to be
dispatched from the PlatformBootManagerLib.

Since the queued images were not dispatched, the PCI Option
ROM drivers were not getting loaded on Juno. Therefore,
add call to EfiBootManagerDispatchDeferredImages() for
dispatching deferred images from PlatformBootManagerLib.

Signed-off-by: Sami Mujawar <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
  • Loading branch information
samimujawar authored and mergify[bot] committed Dec 5, 2019
1 parent 94d4efb commit 0f9395d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Implementation for PlatformBootManagerLib library class interfaces.
Copyright (C) 2015-2016, Red Hat, Inc.
Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2014 - 2019, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
Expand Down Expand Up @@ -549,6 +549,11 @@ PlatformBootManagerBeforeConsole (
//
EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);

//
// Dispatch deferred images after EndOfDxe event.
//
EfiBootManagerDispatchDeferredImages ();

//
// Locate the PCI root bridges and make the PCI bus driver connect each,
// non-recursively. This will produce a number of child handles with PciIo on
Expand Down

0 comments on commit 0f9395d

Please sign in to comment.