Nico Huber has submitted this change. ( https://review.coreboot.org/c/coreboot/+/43444 )
Change subject: mb/qemu/fw_cfg: Add info messages about (not) found files ......................................................................
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 --- M src/mainboard/emulation/qemu-i440fx/fw_cfg.c 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c index 536e775..6ee6863 100644 --- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c +++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c @@ -74,9 +74,11 @@ 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; }