From 62b6a8394a6d09476ea71b99e079dbe954851d4e Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 14 Oct 2019 18:26:44 +0200 Subject: drivers/usb: Enable EHCI debug during verstage Change-Id: I14843c1944f2c1e0a26870b576bac549c0cac7f9 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/36040 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Paul Menzel --- src/drivers/usb/Makefile.inc | 1 + src/include/console/usb.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/drivers/usb/Makefile.inc b/src/drivers/usb/Makefile.inc index c8d319bbdc..fa995c33cc 100644 --- a/src/drivers/usb/Makefile.inc +++ b/src/drivers/usb/Makefile.inc @@ -1,4 +1,5 @@ bootblock-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c +verstage-$(CONFIG_USBDEBUG) += ehci_debug.c console.c romstage-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c postcar-$(CONFIG_USBDEBUG) += ehci_debug.c console.c diff --git a/src/include/console/usb.h b/src/include/console/usb.h index f4f8bd73ed..33edbf6e5f 100644 --- a/src/include/console/usb.h +++ b/src/include/console/usb.h @@ -31,6 +31,7 @@ int usb_can_rx_byte(int idx); ((ENV_BOOTBLOCK && CONFIG(USBDEBUG_IN_PRE_RAM)) || \ (ENV_ROMSTAGE && CONFIG(USBDEBUG_IN_PRE_RAM)) || \ (ENV_POSTCAR && CONFIG(USBDEBUG_IN_PRE_RAM)) || \ + (ENV_VERSTAGE && CONFIG(USBDEBUG_IN_PRE_RAM)) || \ ENV_RAMSTAGE)) #define USB_PIPE_FOR_CONSOLE 0 -- cgit v1.2.3