From 4321d60acba4e629f1ec4922c8b5e31148b332d8 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 30 May 2013 13:23:38 +0200 Subject: console: log qemu debugcon detection result Change-Id: Ie0507475f33d029d6e8ce59f138e0e7da5156d4f Signed-off-by: Gerd Hoffmann Reviewed-on: http://review.coreboot.org/3339 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/console/qemu_debugcon_console.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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) -- cgit v1.2.3