diff options
author | Guo Dong <guo.dong@intel.com> | 2021-10-14 17:18:43 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-10-15 14:21:45 +0000 |
commit | f10a112f08f3fb4a92c3d22f069f6066a12db3be (patch) | |
tree | c49fe324a33ab23a6608af0556edfde01f0abbbf /UefiPayloadPkg/Library | |
parent | 7e43d3e08611ac4c4bc41c46470052d4118168eb (diff) | |
download | edk2-f10a112f08f3fb4a92c3d22f069f6066a12db3be.tar.gz edk2-f10a112f08f3fb4a92c3d22f069f6066a12db3be.tar.bz2 edk2-f10a112f08f3fb4a92c3d22f069f6066a12db3be.zip |
UefiPayloadPkg: Fix the build issue for coreboot
V2: Fix GCC build issue.
There is typo in previous change caused coreboot build failure.
This patch fixed the build issue.
Cc: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Signed-off-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'UefiPayloadPkg/Library')
-rw-r--r-- | UefiPayloadPkg/Library/CbParseLib/CbParseLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c b/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c index f81aa0f301..4be5d66ba5 100644 --- a/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c +++ b/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c @@ -194,8 +194,8 @@ GetParameterBase ( return NULL;
}
- PcdSet64S (PcdBootloaderParameter, (UINTN)CbTablePtr);
- ASSERT_EFI_STATUS (Status);
+ Status = PcdSet64S (PcdBootloaderParameter, (UINTN)CbTablePtr);
+ ASSERT_EFI_ERROR (Status);
return CbTablePtr;
}
|