usbdebug: Add option to disable console for romstage
If there is trouble setting up usbdebug, it may be useful to delay usbdebug init to run in ramstage. Change-Id: I31de5a06d3f9ce19f71c422cce0c8cb0fd50f396 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4488 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
@@ -276,7 +276,7 @@ void sdram_initialize(struct pei_data *pei_data)
|
||||
die("UEFI PEI System Agent not found.\n");
|
||||
}
|
||||
|
||||
#if CONFIG_USBDEBUG
|
||||
#if CONFIG_USBDEBUG_IN_ROMSTAGE
|
||||
/* mrc.bin reconfigures USB, so reinit it to have debug */
|
||||
usbdebug_init();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user