From 16ce01b0d8414a7250fcf142a966ff22c153e85f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 28 Jan 2011 08:05:54 +0000 Subject: This patch gets usbdebug console working in romstage. - actually hook up usbdebug in printk/print_ for romstage - make usbdebug.c more similar to the Linux kernel version it was originally derived from. - increase retries and timing for usbdebug init (at least one chipset seems to need this) - src/pc80/usbdebug_serial.c is not needed - some small console cleanups Signed-off-by: Stefan Reinauer Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6315 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/console/console.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/include/console/console.h') diff --git a/src/include/console/console.h b/src/include/console/console.h index b2811e4547..004ff44bca 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -149,6 +149,7 @@ int do_printk(int msg_level, const char *fmt, ...) __attribute__((format(printf, #define print_info_hex32(HEX) printk(BIOS_INFO, "%08x", (HEX)) #define print_debug_hex32(HEX) printk(BIOS_DEBUG, "%08x", (HEX)) #define print_spew_hex32(HEX) printk(BIOS_SPEW, "%08x", (HEX)) + #else /* __ROMCC__ */ @@ -357,9 +358,6 @@ static void print_spew(const char *str) { __console_tx_string(BIOS_SPEW, str); } #define print_spew_hex32(HEX) __console_tx_hex32(BIOS_SPEW, HEX) #endif -#endif - -#ifdef __ROMCC__ /* if included by romcc, include the sources, too. romcc can't use prototypes */ #include #include -- cgit v1.2.3