summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/haswell/raminit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/northbridge/intel/haswell/raminit.c b/src/northbridge/intel/haswell/raminit.c
index 9beb23cc8e..2fdbe07c8d 100644
--- a/src/northbridge/intel/haswell/raminit.c
+++ b/src/northbridge/intel/haswell/raminit.c
@@ -14,6 +14,7 @@
*/
#include <console/console.h>
+#include <console/usb.h>
#include <string.h>
#include <cbmem.h>
#include <arch/cbfs.h>
@@ -155,6 +156,11 @@ void sdram_initialize(struct pei_data *pei_data)
asm volatile (
"call *%%ecx\n\t"
:"=a" (rv) : "c" (entry), "a" (pei_data));
+
+ /* mrc.bin reconfigures USB, so reinit it to have debug */
+ if (CONFIG(USBDEBUG_IN_PRE_RAM))
+ usbdebug_hw_init(true);
+
if (rv) {
switch (rv) {
case -1: