diff options
author | Nico Huber <nico.huber@secunet.com> | 2020-07-14 12:19:07 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2020-07-19 11:20:05 +0000 |
commit | ef59c93f7776dde2e7be1efbfdaf20384425bda8 (patch) | |
tree | 6b859748c9ee1f946c06365789a12280d3ed6161 /src/mainboard | |
parent | 0115ba8835179e0b96564a82acf0560157030041 (diff) |
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 <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43444
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/emulation/qemu-i440fx/fw_cfg.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |