summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-05-30 13:23:38 +0200
committerRonald G. Minnich <rminnich@gmail.com>2013-06-05 18:25:34 +0200
commit4321d60acba4e629f1ec4922c8b5e31148b332d8 (patch)
treed611269be43f3b1915dd02cf035590aa25a1623a /src/console
parent22f01e611be6fbd3ee5a70b27b96478ff1f4e93a (diff)
console: log qemu debugcon detection result
Change-Id: Ie0507475f33d029d6e8ce59f138e0e7da5156d4f Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-on: http://review.coreboot.org/3339 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/qemu_debugcon_console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/console/qemu_debugcon_console.c b/src/console/qemu_debugcon_console.c
index e2591baa15..1d66d87c64 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)