diff options
Diffstat (limited to 'CorebootModulePkg')
-rwxr-xr-x | CorebootModulePkg/CbSupportPei/CbSupportPei.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CorebootModulePkg/CbSupportPei/CbSupportPei.c b/CorebootModulePkg/CbSupportPei/CbSupportPei.c index 366682b32d..9d5803449e 100755 --- a/CorebootModulePkg/CbSupportPei/CbSupportPei.c +++ b/CorebootModulePkg/CbSupportPei/CbSupportPei.c @@ -329,7 +329,8 @@ CbPeiEntryPoint ( if ((CbParseGetCbHeader (1, &pCbHeader) == RETURN_SUCCESS)
&& ((UINTN)pCbHeader > BASE_4KB)) {
DEBUG((EFI_D_ERROR, "Actual Coreboot header: %p.\n", pCbHeader));
- PcdSet32 (PcdCbHeaderPointer, (UINT32)(UINTN)pCbHeader);
+ Status = PcdSet32S (PcdCbHeaderPointer, (UINT32)(UINTN)pCbHeader);
+ ASSERT_EFI_ERROR (Status);
}
//
|