mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
7e43d3e086
commit
f10a112f08
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 ();
|
||||
|
||||
|
|
Loading…
Reference in New Issue