diff mbox

[Linaro-uefi,linaro-uefi,v5,40/44] Hisilicon: fix PXE boot fail issue

Message ID 1480652017-31676-41-git-send-email-heyi.guo@linaro.org
State Superseded
Headers show

Commit Message

gary guo Dec. 2, 2016, 4:13 a.m. UTC
The images not from FV are treated as 3rd party images,
and will be dispatched after EndOfDxe event due to
EDK2 commit 8be37a5cee, so we signal a EndOfDxe event
or the bootloader application will not be executed.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
 Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c      | 2 ++
 Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf | 1 +
 2 files changed, 3 insertions(+)
diff mbox

Patch

diff --git a/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c b/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
index 43a4385..efefeb6 100644
--- a/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
+++ b/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
@@ -157,6 +157,8 @@  PlatformBdsInit (
   VOID
   )
 {
+  //Signal EndofDxe Event
+  EfiEventGroupSignal(&gEfiEndOfDxeEventGroupGuid);
 }
 
 
diff --git a/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf b/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
index 236e314..baceb57 100644
--- a/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
+++ b/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
@@ -67,6 +67,7 @@ 
   gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut
 
 [Guids]
+  gEfiEndOfDxeEventGroupGuid
   gEfiFileInfoGuid
   gEfiFileSystemInfoGuid
   gEfiFileSystemVolumeLabelInfoIdGuid