Remove external reset generation, because on the board there are more device connecte...
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 13 Oct 2011 15:12:50 +0000 (15:12 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 13 Oct 2011 15:12:50 +0000 (15:12 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5159 38d2e660-2303-0410-9eaa-f027e97ec537

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;