Exynos5: Remove unneeded USB delays

BRANCH=none
TEST=none
BUG=none

Change-Id: I1144e9d6d6c4278842fdd36743c8a88555f81707
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/65912
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
Commit-Queue: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
This commit is contained in:
Stefan Reinauer 2013-08-14 17:14:39 -07:00 committed by ChromeBot
commit 95b518877e
2 changed files with 10 additions and 8 deletions

View file

@ -88,10 +88,11 @@ static void setup_usb_phy(struct usb_phy *usb, int hsic_gpio)
udelay(10);
clrbits_le32(&usb->hsicphyctrl1, HOST_CTRL0_PHYSWRST);
/* PHY clock and power setup time */
// FIXME If this happens more than 50ms before executing the payload,
// we might not need this delay.
mdelay(50);
/* At this point we need to wait for 50ms before talking to
* the USB controller (PHY clock and power setup time)
* By the time we are actually in the payload, these 50ms
* will have passed.
*/
}
void usb_init(device_t dev)

View file

@ -88,10 +88,11 @@ static void setup_usb_phy(struct usb_phy *usb, int hsic_gpio)
udelay(10);
clrbits_le32(&usb->hsicphyctrl1, HOST_CTRL0_PHYSWRST);
/* PHY clock and power setup time */
// FIXME If this happens more than 50ms before executing the payload,
// we might not need this delay.
mdelay(50);
/* At this point we need to wait for 50ms before talking to
* the USB controller (PHY clock and power setup time)
* By the time we are actually in the payload, these 50ms
* will have passed.
*/
}
void usb_init(device_t dev)