diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-07-06 11:56:49 +0300 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-07-10 23:23:55 +0200 |
commit | 9e7806a788f9617d3dd9139a74ab3f7b03eb9581 (patch) | |
tree | 8d85d5ba21a8f3870335a0fe36b65e37a3f8c7c9 /src/console/console.c | |
parent | 4d409b5fc27e44f7c902f8402f661db56d62ac74 (diff) | |
download | coreboot-9e7806a788f9617d3dd9139a74ab3f7b03eb9581.tar.xz |
usbdebug: Move ehci_debug_info allocation
Move ehci_debug_info allocation from console to lib, as console code
was only built for ramstage.
Implement dbgp_ehci_info() to return the EHCI context. Alread alias this
as dbgp_console_input() and _output() to return the console stream context
later on.
Change-Id: Id6cc07d62953f0466df61eeb159e22b0e3287d4e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3625
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/console/console.c')
-rw-r--r-- | src/console/console.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/console/console.c b/src/console/console.c index a0e8f6dbf9..6ebcd8b414 100644 --- a/src/console/console.c +++ b/src/console/console.c @@ -105,8 +105,7 @@ void console_init(void) !defined(__BOOT_BLOCK__) && CONFIG_EARLY_CONSOLE #if CONFIG_USBDEBUG - enable_usbdebug(CONFIG_USBDEBUG_DEFAULT_PORT); - early_usbdebug_init(); + usbdebug_init(); #endif #if CONFIG_CONSOLE_SERIAL uart_init(); |