Subversion Repositories freemyipod

Rev

Rev 265 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 265 Rev 274
Line 141... Line 141...
141
    OPHYUNK2 = 0xE3F;
141
    OPHYUNK2 = 0xE3F;
142
    OPHYCLK = SYNOPSYSOTG_CLOCK;
142
    OPHYCLK = SYNOPSYSOTG_CLOCK;
143
    ORSTCON = 1;  /* PHY: Assert Software Reset */
143
    ORSTCON = 1;  /* PHY: Assert Software Reset */
144
    udelay(10);
144
    udelay(10);
145
    ORSTCON = 0;  /* PHY: Deassert Software Reset */
145
    ORSTCON = 0;  /* PHY: Deassert Software Reset */
-
 
146
    OPHYUNK3 = 0x600;
146
 
147
 
147
    GRSTCTL = 1;  /* OTG: Assert Software Reset */
148
    GRSTCTL = 1;  /* OTG: Assert Software Reset */
148
    while (GRSTCTL & 1);  /* Wait for OTG to ack reset */
149
    while (GRSTCTL & 1);  /* Wait for OTG to ack reset */
149
    while (!(GRSTCTL & 0x80000000));  /* Wait for OTG AHB master idle */
150
    while (!(GRSTCTL & 0x80000000));  /* Wait for OTG AHB master idle */
150
 
151