xref: /aosp_15_r20/external/coreboot/src/drivers/intel/fsp2_0/fsp_error_info_hob.c (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
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)6 void 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