diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-06-06 10:29:49 +0300 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2013-06-07 09:50:12 +0200 |
commit | ecbc0c5cb9c2dd403a2464ddc53ec937931d8cc6 (patch) | |
tree | 596faa232e43cdf81f4fd3631d36ed74cd70b44c /src/console | |
parent | 4062f179a755ca3b303f444ee3ef812fb287f9f1 (diff) | |
download | coreboot-ecbc0c5cb9c2dd403a2464ddc53ec937931d8cc6.tar.xz |
usbdebug: Fix use without EARLY_CONSOLE
If EARLY_CONSOLE is not selected, the PCI function for EHCI
host controller must be configured in ramstage instead.
Change-Id: I20f7569f79484c744bc413450bfa139052f3580f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3383
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/usbdebug_console.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/console/usbdebug_console.c b/src/console/usbdebug_console.c index 58a62b8e94..dd61953f8e 100644 --- a/src/console/usbdebug_console.c +++ b/src/console/usbdebug_console.c @@ -50,6 +50,9 @@ unsigned get_ehci_debug(void) static void dbgp_init(void) { +#if !CONFIG_EARLY_CONSOLE + enable_usbdebug(CONFIG_USBDEBUG_DEFAULT_PORT); +#endif usbdebug_init(CONFIG_EHCI_BAR, CONFIG_EHCI_DEBUG_OFFSET, &dbg_info); } |