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