1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #include <console/console.h> 4 #include <fsp/util.h> 5 display_fsp_error_info_hob(const void * hob)6void display_fsp_error_info_hob(const void *hob) 7 { 8 const FSP_ERROR_INFO_HOB *fsp_error_info_hob = (FSP_ERROR_INFO_HOB *)hob; 9 printk(BIOS_ERR, "FspErrorInfoHob->CallerId = "); 10 fsp_print_guid(BIOS_CRIT, &fsp_error_info_hob->CallerId); 11 printk(BIOS_ERR, "\nFspErrorInfoHob->ErrorType = "); 12 fsp_print_guid(BIOS_CRIT, &fsp_error_info_hob->ErrorType); 13 printk(BIOS_ERR, "\nFspErrorInfoHob->Status = %x\n", fsp_error_info_hob->Status); 14 } 15