]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CorebootModulePkg/CbSupportPei/CbSupportPei.c
CorebootModulePkg: Add a library to parse platform specific info.
[mirror_edk2.git] / CorebootModulePkg / CbSupportPei / CbSupportPei.c
index 9d5803449e2519b07f04e40e163f284d5fd15528..80fd611bc8e43ba584ca703e2a76b72e92ffd9d1 100755 (executable)
@@ -387,6 +387,15 @@ CbPeiEntryPoint (
     DEBUG ((EFI_D_ERROR, "Create frame buffer info guid hob\n"));\r
   }\r
 \r
+  //\r
+  // Parse platform specific information from coreboot. \r
+  //\r
+  Status = CbParsePlatformInfo ();\r
+  if (EFI_ERROR (Status)) {\r
+    DEBUG ((EFI_D_ERROR, "Error when parsing platform info, Status = %r\n", Status));\r
+    return Status;\r
+  }\r
+\r
   //\r
   // Mask off all legacy 8259 interrupt sources\r
   //\r