From ef59c93f7776dde2e7be1efbfdaf20384425bda8 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 14 Jul 2020 12:19:07 +0200 Subject: [PATCH] mb/qemu/fw_cfg: Add info messages about (not) found files Print some more information at BIOS_INFO, like our CBFS code does. Change-Id: I1431d569c57634277ea5cf7feb352419db432b44 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/43444 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/emulation/qemu-i440fx/fw_cfg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c index 536e77505d..6ee6863dfe 100644 --- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c +++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c @@ -74,9 +74,11 @@ static int fw_cfg_find_file(FWCfgFile *file, const char *name) if (strcmp(file->name, name) == 0) { file->size = be32_to_cpu(file->size); file->select = be16_to_cpu(file->select); + printk(BIOS_INFO, "QEMU: firmware config: Found '%s'\n", name); return 0; } } + printk(BIOS_INFO, "QEMU: firmware config: Couldn't find '%s'\n", name); return -1; }