[coreboot-gerrit] New patch to review for coreboot: cc20a85 console: log qemu debugcon detection result

Gerd Hoffmann (kraxel@redhat.com) gerrit at coreboot.org
Thu May 30 13:28:18 CEST 2013


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

-gerrit

commit cc20a85024596a0e1cf0977c5feef2c88bd7fbf5
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu May 30 13:23:38 2013 +0200

    console: log qemu debugcon detection result
    
    Change-Id: Ie0507475f33d029d6e8ce59f138e0e7da5156d4f
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 src/console/qemu_debugcon_console.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/console/qemu_debugcon_console.c b/src/console/qemu_debugcon_console.c
index e2591ba..1d66d87 100644
--- a/src/console/qemu_debugcon_console.c
+++ b/src/console/qemu_debugcon_console.c
@@ -26,6 +26,9 @@ static unsigned char readback;
 static void debugcon_init(void)
 {
 	readback = inb(CONFIG_CONSOLE_QEMU_DEBUGCON_PORT);
+	printk(BIOS_INFO, "QEMU debugcon %s [port 0x%x]\n",
+	       (readback == 0xe9) ? "detected" : "not found",
+	       CONFIG_CONSOLE_QEMU_DEBUGCON_PORT);
 }
 
 static void debugcon_tx_byte(unsigned char data)



More information about the coreboot-gerrit mailing list