diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-08 00:21:51 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-07-09 23:52:36 +0000 |
commit | 82ab9ca72c6bf14ab41e145368b219f32e596456 (patch) | |
tree | a1b2cc40761fb27b7fc959ab0132e60c420c6591 | |
parent | a8620639a3a3e6f21e7302b8bac64f8e28cd6083 (diff) |
drivers/usb/ehci_debug.c: Drop dead code
This code is not even being build-tested. Drop it before it grows moss.
Change-Id: I27e4d66a1c8e2ed0eb5152f6bd56cc3fec2dea8e
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43256
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Michael Niewöhner
-rw-r--r-- | src/drivers/usb/ehci_debug.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/drivers/usb/ehci_debug.c b/src/drivers/usb/ehci_debug.c index 739e599c65..5af8e2edbb 100644 --- a/src/drivers/usb/ehci_debug.c +++ b/src/drivers/usb/ehci_debug.c @@ -563,13 +563,6 @@ try_next_port: } dprintk(BIOS_INFO, "EHCI debug port enabled.\n"); -#if 0 - /* Completely transfer the debug device to the debug controller */ - portsc = read32(&ehci_regs->port_status[debug_port - 1]); - portsc &= ~PORT_PE; - write32(&ehci_regs->port_status[debug_port - 1], portsc); -#endif - dbgp_mdelay(100); struct ehci_dbg_port *port = (void *)(uintptr_t)info->ehci_debug; |