[coreboot-gerrit] New patch to review for coreboot: 372dce3 qemu: log acpi table size

Gerd Hoffmann (kraxel@redhat.com) gerrit at coreboot.org
Wed Aug 27 15:50:45 CEST 2014


Gerd Hoffmann (kraxel at redhat.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6772

-gerrit

commit 372dce35dda7413785cb3ad49aa793fade0beb89
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Aug 27 13:21:43 2014 +0200

    qemu: log acpi table size
    
    Change-Id: Ib2d7a3d9bda94f80886da96c2b766d29fc15a834
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 src/mainboard/emulation/qemu-i440fx/fw_cfg.c | 5 ++---
 1 file 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 047f211..7e9358a 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;



More information about the coreboot-gerrit mailing list