summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b1c7b5b)
raw | patch | inline | side by side (parent: b1c7b5b)
author | Jingting Zhou <zhoujt@ti.com> | |
Mon, 13 Aug 2012 18:24:58 +0000 (14:24 -0400) | ||
committer | Jingting Zhou <zhoujt@ti.com> | |
Mon, 13 Aug 2012 18:24:58 +0000 (14:24 -0400) |
post/src/post.c | patch | blob | history |
diff --git a/post/src/post.c b/post/src/post.c
index cfa6c494a8d9f28857fe4a71c439bdb91fec3aee..fa258bfdf058257f3f08277f943e25d22e12fbaa 100644 (file)
--- a/post/src/post.c
+++ b/post/src/post.c
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)))