From ab2b389e7afc19ca87574eb4594eaf26ca2d4135 Mon Sep 17 00:00:00 2001 From: Ray Ni Date: Sat, 1 May 2021 18:42:36 +0800 Subject: PeiCore: Remove assertion when failing to load PE image EFI_PEI_LOAD_FILE_PPI is invoked by DxeIpl for loading DxeCore. It's possible that the instance produced by PeiCore fails to load but other instances of EFI_PEI_LOAD_FILE_PPI can load. Signed-off-by: Ray Ni Cc: Jian J Wang Acked-by: Hao A Wu Cc: Dandan Bi Cc: Liming Gao --- MdeModulePkg/Core/Pei/Image/Image.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MdeModulePkg/Core/Pei/Image/Image.c b/MdeModulePkg/Core/Pei/Image/Image.c index 1d15774527..5af3895191 100644 --- a/MdeModulePkg/Core/Pei/Image/Image.c +++ b/MdeModulePkg/Core/Pei/Image/Image.c @@ -1,7 +1,7 @@ /** @file Pei Core Load Image Support -Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -661,9 +661,6 @@ PeiLoadImageLoadImage ( &ImageEntryPoint ); - ASSERT_EFI_ERROR (Status); - - if (EFI_ERROR (Status)) { return Status; } -- cgit v1.2.3