blob: 9c27ec72469347992857004b03ca3fb693224128 [file] [log] [blame]
Ray Han Lim, Ng65b72192022-01-21 14:33:11 +08001/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#include <console/console.h>
4#include <fsp/util.h>
5
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}