diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-05-30 13:23:38 +0200 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-06-05 18:25:34 +0200 |
commit | 4321d60acba4e629f1ec4922c8b5e31148b332d8 (patch) | |
tree | d611269be43f3b1915dd02cf035590aa25a1623a /src | |
parent | 22f01e611be6fbd3ee5a70b27b96478ff1f4e93a (diff) | |
download | coreboot-4321d60acba4e629f1ec4922c8b5e31148b332d8.tar.xz |
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')
-rw-r--r-- | src/console/qemu_debugcon_console.c | 3 |
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) |