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>
This commit is contained in:
parent
0115ba8835
commit
ef59c93f77
|
@ -74,9 +74,11 @@ static int fw_cfg_find_file(FWCfgFile *file, const char *name)
|
||||||
if (strcmp(file->name, name) == 0) {
|
if (strcmp(file->name, name) == 0) {
|
||||||
file->size = be32_to_cpu(file->size);
|
file->size = be32_to_cpu(file->size);
|
||||||
file->select = be16_to_cpu(file->select);
|
file->select = be16_to_cpu(file->select);
|
||||||
|
printk(BIOS_INFO, "QEMU: firmware config: Found '%s'\n", name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
printk(BIOS_INFO, "QEMU: firmware config: Couldn't find '%s'\n", name);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue