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:
@ -194,8 +194,8 @@ GetParameterBase (
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
PcdSet64S (PcdBootloaderParameter, (UINTN)CbTablePtr);
|
Status = PcdSet64S (PcdBootloaderParameter, (UINTN)CbTablePtr);
|
||||||
ASSERT_EFI_STATUS (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
return CbTablePtr;
|
return CbTablePtr;
|
||||||
}
|
}
|
||||||
|
@ -406,7 +406,9 @@ _ModuleEntryPoint (
|
|||||||
SERIAL_PORT_INFO SerialPortInfo;
|
SERIAL_PORT_INFO SerialPortInfo;
|
||||||
UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO *UniversalSerialPort;
|
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.
|
// Initialize floating point operating environment to be compliant with UEFI spec.
|
||||||
InitializeFloatingPointUnits ();
|
InitializeFloatingPointUnits ();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user