Some cosmetic fixes.
[bertos.git] / bertos / cpu / cortex-m3 / drv / eth_sam3.c
index f93275db44304e8b66bde6a4cff8bdff6511ed11..187041f21bb1664541b18a24f8c0c696a18a09ae 100644 (file)
@@ -238,13 +238,6 @@ static int emac_reset(void)
        PIOB_PUDR = BV(PHY_RXDV_TESTMODE_BIT);
 #endif
 
-       // Toggle external hardware reset pin.
-       RSTC_MR = RSTC_KEY | (1 << RSTC_ERSTL_SHIFT) | BV(RSTC_URSTEN);
-       RSTC_CR = RSTC_KEY | BV(RSTC_EXTRST);
-
-       while ((RSTC_SR & BV(RSTC_NRSTL)) == 0)
-               cpu_relax();
-
        // Configure MII ports.
 #if CPU_ARM_AT91
        PIOB_ASR = PHY_MII_PINS;