aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-08-27 13:21:43 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-08-28 07:51:18 +0200
commitacfe1e5966ad2ea69c373ea613ec492007ac0129 (patch)
tree5caed69bb5c66413e1c74ef42845c069bf789d56 /src
parent2177f1bcb5420a69957e7146c1b77e8f4c4d8aa8 (diff)
qemu: log acpi table size
Change-Id: Ib2d7a3d9bda94f80886da96c2b766d29fc15a834 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-on: http://review.coreboot.org/6772 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/fw_cfg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
index 047f211db0..7e9358ac03 100644
--- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
+++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
@@ -231,12 +231,11 @@ unsigned long fw_cfg_acpi_tables(unsigned long start)
switch (s[i].command) {
case BIOS_LINKER_LOADER_COMMAND_ALLOCATE:
current = ALIGN(current, s[i].alloc.align);
- printk(BIOS_DEBUG, "QEMU: loading \"%s\" to 0x%lx\n",
- s[i].alloc.file, current);
-
rc = fw_cfg_check_file(s[i].alloc.file);
if (rc < 0)
goto err;
+ printk(BIOS_DEBUG, "QEMU: loading \"%s\" to 0x%lx (len %d)\n",
+ s[i].alloc.file, current, rc);
fw_cfg_load_file(s[i].alloc.file, (void*)current);
addrs[i] = current;
current += rc;