usb: remove usbphy reset 500ms wait [1/1]

PD#SWPL-4949

Problem:
kernel slow startup

Solution:
remove usbphy reset 500ms wait

Verify:
marconi platform insert U disk, power on boot verify OK

Change-Id: Ieb01e59ad428f98c3df303c7b3bee28397970c74
Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
This commit is contained in:
yuehu mi
2019-01-17 20:51:44 +08:00
committed by Luke Go
parent b4f41bc724
commit 84cc7045b0

View File

@@ -30,7 +30,6 @@
int amlogic_new_usbphy_reset_v2(struct amlogic_usb_v2 *phy)
{
static int init_count;
int i = 0;
if (!init_count) {
init_count++;
@@ -39,8 +38,6 @@ int amlogic_new_usbphy_reset_v2(struct amlogic_usb_v2 *phy)
else
writel((readl(phy->reset_regs) | (0x1 << 2)),
phy->reset_regs);
for (i = 0; i < 1000; i++)
udelay(500);
}
return 0;