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/UefiPayloadEntry | |
parent | 7e43d3e08611ac4c4bc41c46470052d4118168eb (diff) | |
download | edk2-f10a112f08f3fb4a92c3d22f069f6066a12db3be.zip edk2-f10a112f08f3fb4a92c3d22f069f6066a12db3be.tar.gz edk2-f10a112f08f3fb4a92c3d22f069f6066a12db3be.tar.bz2 |
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/UefiPayloadEntry')
-rw-r--r-- | UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c index 5a1e578..0e6dcf1 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c @@ -406,7 +406,9 @@ _ModuleEntryPoint ( SERIAL_PORT_INFO SerialPortInfo;
UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO *UniversalSerialPort;
- PcdSet64S (PcdBootloaderParameter, BootloaderParameter);
+ Status = PcdSet64S (PcdBootloaderParameter, BootloaderParameter);
+ ASSERT_EFI_ERROR (Status);
+
// Initialize floating point operating environment to be compliant with UEFI spec.
InitializeFloatingPointUnits ();
|