[coreboot-gerrit] New patch to review for coreboot: a4aa983 usbdebug: Debug the EHCI debug port [NOTFORMERGE]

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Thu Jun 6 14:20:33 CEST 2013


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3387

-gerrit

commit a4aa983407c7e1247f0d429e7bfd586348fbbbb3
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Thu Jun 6 10:46:37 2013 +0300

    usbdebug: Debug the EHCI debug port [NOTFORMERGE]
    
    Initialise serial uart before EHCI debug port to capture initialisation
    sequence on a working console.
    
    Change-Id: I3aceec8a93064bd952886839569e9f5beb6c5720
    Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
 src/console/console.c | 6 +++---
 src/lib/usbdebug.c    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/console/console.c b/src/console/console.c
index 2f7de02..b0c6171 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -103,13 +103,13 @@ void console_init(void)
 {
 #if CONFIG_EARLY_CONSOLE
 
+#if CONFIG_CONSOLE_SERIAL
+	uart_init();
+#endif
 #if CONFIG_USBDEBUG
 	enable_usbdebug(CONFIG_USBDEBUG_DEFAULT_PORT);
 	early_usbdebug_init();
 #endif
-#if CONFIG_CONSOLE_SERIAL
-	uart_init();
-#endif
 #if CONFIG_DRIVERS_OXFORD_OXPCIE && CONFIG_CONSOLE_SERIAL8250MEM
 	oxford_init();
 #endif
diff --git a/src/lib/usbdebug.c b/src/lib/usbdebug.c
index f33e0f4..09c1d3a 100644
--- a/src/lib/usbdebug.c
+++ b/src/lib/usbdebug.c
@@ -32,7 +32,7 @@
  * to receive the printk lines from here.
  * There will be no real usbdebug console output while DBGP_DEBUG is set.
  */
-#define DBGP_DEBUG 0
+#define DBGP_DEBUG 1
 #if DBGP_DEBUG
 # define dbgp_printk(fmt_arg...) printk(BIOS_DEBUG, fmt_arg)
 #else



More information about the coreboot-gerrit mailing list