summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/hob_display.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-11-14 22:11:56 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-16 15:00:00 +0000
commit50c0a6d675152172d99acc4108a8dc69a3f0daf9 (patch)
treed851eac8b977e3c985f2192a4b2c97fdce4c33cf /src/drivers/intel/fsp2_0/hob_display.c
parentc420d538ee4e02d634d01cd30dd6ed5b6dafcc44 (diff)
drivers/intel/fsp2_0: add log level parameter to fsp_print_guid
Not all functions that call fsp_print_guid print their output with the BIOS_SPEW log level, so introduce a new log level parameter so that the caller of fsp_print_guid can specify which log level fsp_print_guid should use for printing the GUID. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I3b37afe703f506d4913f95a954368c0eec0f862d Reviewed-on: https://review.coreboot.org/c/coreboot/+/69599 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel/fsp2_0/hob_display.c')
-rw-r--r--src/drivers/intel/fsp2_0/hob_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/intel/fsp2_0/hob_display.c b/src/drivers/intel/fsp2_0/hob_display.c
index f21ebfeb5f..93406636fe 100644
--- a/src/drivers/intel/fsp2_0/hob_display.c
+++ b/src/drivers/intel/fsp2_0/hob_display.c
@@ -97,7 +97,7 @@ void fsp_print_resource_descriptor(const void *base)
printk(BIOS_SPEW, "\t0x%08llx + 0x%08llx\n", res->addr, res->length);
if (!fsp_guid_compare(res->owner_guid, empty_guid)) {
printk(BIOS_SPEW, "\tOwner GUID: ");
- fsp_print_guid(res->owner_guid);
+ fsp_print_guid(BIOS_SPEW, res->owner_guid);
printk(BIOS_SPEW, " (%s)\n",
fsp_get_guid_name(res->owner_guid));
}
@@ -159,7 +159,7 @@ void fsp_print_guid_extension_hob(const struct hob_header *hob)
res = fsp_hob_header_to_resource(hob);
printk(BIOS_SPEW, "\t");
- fsp_print_guid(res->owner_guid);
+ fsp_print_guid(BIOS_SPEW, res->owner_guid);
printk(BIOS_SPEW, ": %s\n", fsp_get_guid_name(res->owner_guid));
/* Some of the SoC FSP specific hobs are of type HOB_TYPE_GUID_EXTENSION */