From acfe1e5966ad2ea69c373ea613ec492007ac0129 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 27 Aug 2014 13:21:43 +0200 Subject: qemu: log acpi table size Change-Id: Ib2d7a3d9bda94f80886da96c2b766d29fc15a834 Signed-off-by: Gerd Hoffmann Reviewed-on: http://review.coreboot.org/6772 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Edward O'Callaghan Reviewed-by: Stefan Reinauer --- src/mainboard/emulation/qemu-i440fx/fw_cfg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mainboard/emulation') 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; -- cgit v1.2.3