diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-06-06 10:46:37 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-08-10 18:45:34 +0200 |
commit | 3be80cce290e3ff2da6abc30addab79f5a5ffa07 (patch) | |
tree | d8ea693b92c17ad56591059307bf6c49b63e44c6 /src/console | |
parent | a9bbdd39e420d7d99323a28e24636d1a849effa3 (diff) |
usbdebug: Add option for verbose logging of connection
Add option to log changes in USB 2.0 EHCI debug port connection.
For romstage move usbdebug as the last initialised console so one
actually can see these messages.
Init order of consoles in ramstage is undetermined and unchanged.
Change-Id: I3aceec8a93064bd952886839569e9f5beb6c5720
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3387
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/console.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/console/console.c b/src/console/console.c index 6ebcd8b414..b2b06b37f9 100644 --- a/src/console/console.c +++ b/src/console/console.c @@ -104,9 +104,6 @@ void console_init(void) #if defined(__BOOT_BLOCK__) && CONFIG_BOOTBLOCK_CONSOLE || \ !defined(__BOOT_BLOCK__) && CONFIG_EARLY_CONSOLE -#if CONFIG_USBDEBUG - usbdebug_init(); -#endif #if CONFIG_CONSOLE_SERIAL uart_init(); #endif @@ -122,6 +119,9 @@ void console_init(void) #if CONFIG_SPKMODEM spkmodem_init(); #endif +#if CONFIG_USBDEBUG + usbdebug_init(); +#endif static const char console_test[] = "\n\ncoreboot-" |