Revert "updated Init_sgmii in post.c to fix emac loopback IR" - not scoped
authorIvan Pang <i-pang@ti.com>
Thu, 16 Aug 2012 00:15:07 +0000 (20:15 -0400)
committerIvan Pang <i-pang@ti.com>
Thu, 16 Aug 2012 00:15:07 +0000 (20:15 -0400)
for 2.1.0

This reverts commit 1cfe5580153f7ad0f4630472215c170fcd22aeff.

post/src/post.c

index fa258bfdf058257f3f08277f943e25d22e12fbaa..cfa6c494a8d9f28857fe4a71c439bdb91fec3aee 100644 (file)
@@ -460,11 +460,6 @@ int32_t Init_sgmii (uint32_t macPortNum)
 
         CSL_SGMII_enableAutoNegotiation (macPortNum);
         CSL_SGMII_endRxTxSoftReset (macPortNum);
-               
-               do
-           {
-               CSL_SGMII_getStatus(macPortNum, &sgmiiStatus);
-           } while (sgmiiStatus.bIsLinkUp != 1);
 
            /* Wait for SGMII Link */
         if (!cpswSimTest && ((cpswLpbkMode == CPSW_LOOPBACK_EXTERNAL) || (cpswLpbkMode == CPSW_LOOPBACK_NONE)))