CorebootModulePkg: Add a library to parse platform specific info.
Update CbSupportPei to consume the new library, so platform could provide platform specific library instance to parse platform specif info. And add a NULL library instance to pass build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: gdong1 <guo.dong@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com>
This commit is contained in:
@ -387,6 +387,15 @@ CbPeiEntryPoint (
|
||||
DEBUG ((EFI_D_ERROR, "Create frame buffer info guid hob\n"));
|
||||
}
|
||||
|
||||
//
|
||||
// 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
|
||||
//
|
||||
|
Reference in New Issue
Block a user