summaryrefslogtreecommitdiff
path: root/CorebootModulePkg/CbSupportPei
diff options
context:
space:
mode:
Diffstat (limited to 'CorebootModulePkg/CbSupportPei')
-rwxr-xr-xCorebootModulePkg/CbSupportPei/CbSupportPei.c9
-rw-r--r--CorebootModulePkg/CbSupportPei/CbSupportPei.h3
-rw-r--r--CorebootModulePkg/CbSupportPei/CbSupportPei.inf1
3 files changed, 12 insertions, 1 deletions
diff --git a/CorebootModulePkg/CbSupportPei/CbSupportPei.c b/CorebootModulePkg/CbSupportPei/CbSupportPei.c
index 9d5803449e..80fd611bc8 100755
--- a/CorebootModulePkg/CbSupportPei/CbSupportPei.c
+++ b/CorebootModulePkg/CbSupportPei/CbSupportPei.c
@@ -388,6 +388,15 @@ CbPeiEntryPoint (
}
//
+ // Parse platform specific information from coreboot.
+ //
+ Status = CbParsePlatformInfo ();
+ if (EFI_ERROR (Status)) {
+ DEBUG ((EFI_D_ERROR, "Error when parsing platform info, Status = %r\n", Status));
+ return Status;
+ }
+
+ //
// Mask off all legacy 8259 interrupt sources
//
IoWrite8 (LEGACY_8259_MASK_REGISTER_MASTER, 0xFF);
diff --git a/CorebootModulePkg/CbSupportPei/CbSupportPei.h b/CorebootModulePkg/CbSupportPei/CbSupportPei.h
index 3c9a3fe61e..f897dc4ac5 100644
--- a/CorebootModulePkg/CbSupportPei/CbSupportPei.h
+++ b/CorebootModulePkg/CbSupportPei/CbSupportPei.h
@@ -1,7 +1,7 @@
/** @file
The header file of Coreboot Support PEIM.
-Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -28,6 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/CbParseLib.h>
#include <Library/MtrrLib.h>
#include <Library/IoLib.h>
+#include <Library/CbPlatformSupportLib.h>
#include <Guid/SmramMemoryReserve.h>
#include <Guid/MemoryTypeInformation.h>
diff --git a/CorebootModulePkg/CbSupportPei/CbSupportPei.inf b/CorebootModulePkg/CbSupportPei/CbSupportPei.inf
index 4905bdbd8e..f7997ff702 100644
--- a/CorebootModulePkg/CbSupportPei/CbSupportPei.inf
+++ b/CorebootModulePkg/CbSupportPei/CbSupportPei.inf
@@ -52,6 +52,7 @@
CbParseLib
MtrrLib
IoLib
+ CbPlatformSupportLib
[Guids]
gEfiSmmPeiSmramMemoryReserveGuid