[coreboot-gerrit] New patch to review for coreboot: e7c5966 usbdebug: Fix use without EARLY_CONSOLE

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Thu Jun 6 14:20:32 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/3383

-gerrit

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

    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 at gmail.com>
---
 src/console/usbdebug_console.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/console/usbdebug_console.c b/src/console/usbdebug_console.c
index 58a62b8..dd61953 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);
 }
 



More information about the coreboot-gerrit mailing list