Disable proof.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 28 Sep 2011 13:40:11 +0000 (13:40 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 28 Sep 2011 13:40:11 +0000 (13:40 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5108 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/cortex-m3/drv/hsmci_sam3.c

index d0b0c39675e5f47d33bad56f5d3f5eaf523f9a08..a4960fb51fb5a1fce6d88adcaad3071839f60ec9 100644 (file)
@@ -161,9 +161,7 @@ void hsmci_setSpeed(uint32_t data_rate, int flag)
        else
                HSMCI_CFG &= ~BV(HSMCI_CFG_HSMODE);
 
-       HSMCI_DTOR = 0xF8 | HSMCI_DTOR_DTOMUL_1;
-       HSMCI_CSTOR = 0xF8 | HSMCI_CSTOR_CSTOMUL_1;
-       HSMCI_MR = HSMCI_CLK_DIV(data_rate) | BV(HSMCI_MR_RDPROOF) | BV(HSMCI_MR_WRPROOF);
+       HSMCI_MR = HSMCI_CLK_DIV(data_rate);
 
        timer_delay(10);
 }
@@ -181,7 +179,7 @@ void hsmci_init(Hsmci *hsmci)
 
        HSMCI_DTOR = 0xFF | HSMCI_DTOR_DTOMUL_1048576;
        HSMCI_CSTOR = 0xFF | HSMCI_CSTOR_CSTOMUL_1048576;
-       HSMCI_MR = HSMCI_CLK_DIV(HSMCI_INIT_SPEED) | BV(HSMCI_MR_RDPROOF) | BV(HSMCI_MR_WRPROOF);
+       HSMCI_MR = HSMCI_CLK_DIV(HSMCI_INIT_SPEED);
        HSMCI_CFG = BV(HSMCI_CFG_FIFOMODE) | BV(HSMCI_CFG_FERRCTRL);
 
        HSMCI_CR = BV(HSMCI_CR_MCIEN);