summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-01 13:20:18 -0700
committerTom Rini <trini@konsulko.com>2023-02-07 14:33:50 -0500
commit5eddad039b914a157c96c11c5e8a56473e71fb3a (patch)
treeafba4c88fe3b76580fdb9b8f9ada2bc471ad8f64 /common
parent82803a60b1d31507226d20f4e279dbc8a5cb8e3e (diff)
usb: Drop unused ehci-faraday driver
This is not used. Drop the driver and Kconfig option. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/usb_hub.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/usb_hub.c b/common/usb_hub.c
index f7fd12c045..85c0822d8b 100644
--- a/common/usb_hub.c
+++ b/common/usb_hub.c
@@ -507,11 +507,6 @@ static int usb_scan_port(struct usb_device_scan *usb_scan)
debug("port %d enable change, status %x\n", i + 1, portstatus);
usb_clear_port_feature(dev, i + 1, USB_PORT_FEAT_C_ENABLE);
/*
- * The following hack causes a ghost device problem
- * to Faraday EHCI
- */
-#ifndef CONFIG_USB_EHCI_FARADAY
- /*
* EM interference sometimes causes bad shielded USB
* devices to be shutdown by the hub, this hack enables
* them again. Works at least with mouse driver
@@ -523,7 +518,6 @@ static int usb_scan_port(struct usb_device_scan *usb_scan)
i + 1);
usb_hub_port_connect_change(dev, i);
}
-#endif
}
if (portstatus & USB_PORT_STAT_SUSPEND) {