From d4ee8082f15bf695b8687fb2a26f3b49a9956a40 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Sat, 28 Jul 2012 09:28:56 +0200 Subject: sandybridge: reinitialize usbdebug after MRC MRC messes with USB devices, so we have to reinitialize USB debug after MRC has finished. Change-Id: I45c0a687cebd69d0a31235bb870f8c455f42d4f2 Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/1377 Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Duncan Laurie --- src/northbridge/intel/sandybridge/raminit.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/northbridge/intel') diff --git a/src/northbridge/intel/sandybridge/raminit.c b/src/northbridge/intel/sandybridge/raminit.c index bb8b25cd25..696417f161 100644 --- a/src/northbridge/intel/sandybridge/raminit.c +++ b/src/northbridge/intel/sandybridge/raminit.c @@ -265,6 +265,11 @@ void sdram_initialize(struct pei_data *pei_data) die("UEFI PEI System Agent not found.\n"); } +#if CONFIG_USBDEBUG + /* mrc.bin reconfigures USB, so reinit it to have debug */ + early_usbdebug_init(); +#endif + /* For reference print the System Agent version * after executing the UEFI PEI stage. */ -- cgit v1.2.3