From f3c01fa77d324dca7c4a96f9632cd1c54583d60b Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 13 Oct 2011 15:12:50 +0000 Subject: [PATCH] Remove external reset generation, because on the board there are more device connected to the cpu NRST pin, this could be a problem during initialization of various devices. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5159 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/drv/eth_sam3.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bertos/cpu/cortex-m3/drv/eth_sam3.c b/bertos/cpu/cortex-m3/drv/eth_sam3.c index f93275db..187041f2 100644 --- a/bertos/cpu/cortex-m3/drv/eth_sam3.c +++ b/bertos/cpu/cortex-m3/drv/eth_sam3.c @@ -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; -- 2.25.1