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>
This commit is contained in:
parent
4062f179a7
commit
ecbc0c5cb9
|
@ -50,6 +50,9 @@ unsigned get_ehci_debug(void)
|
||||||
|
|
||||||
static void dbgp_init(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);
|
usbdebug_init(CONFIG_EHCI_BAR, CONFIG_EHCI_DEBUG_OFFSET, &dbg_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue