[openfirmware] [commit] r2065 - dev/mmc/sdhci

repository service svn at openfirmware.info
Fri Dec 3 08:10:10 CET 2010


Author: quozl
Date: Fri Dec  3 08:10:10 2010
New Revision: 2065
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2065

Log:
OLPC XO-1.5 - increase external SD card power-up off time for a 32 G class 10 SD card being tested.

Modified:
   dev/mmc/sdhci/sdhci.fth

Modified: dev/mmc/sdhci/sdhci.fth
==============================================================================
--- dev/mmc/sdhci/sdhci.fth	Fri Dec  3 07:55:12 2010	(r2064)
+++ dev/mmc/sdhci/sdhci.fth	Fri Dec  3 08:10:10 2010	(r2065)
@@ -801,10 +801,16 @@
    false to writing?
 ;
 
+\ time to hold card power off to allow VCC_SD to discharge
+\ 25ms required for XO-1.5 with external SanDisk 32 G class 10 SD card
+\ 29ms required for XO-1.5 with external SanDisk 8 G class 4 SD card
+\ 1ms should be required for XO-1.75 A2 (due to discharge clamps)
+d# 40 value power-off-time
+
 \ -1 means error, 1 means retry
 : power-up-card  ( -- false | retry? true )
    intstat-on
-   card-power-off d# 20 ms
+   card-power-off power-off-time ms
    card-power-on  d# 40 ms  \ This delay is just a guess (20 was barely too slow for a Via board)
    card-inserted?  0=  if  card-power-off  intstat-off  false true exit  then   
    card-clock-slow  d# 10 ms  \ This delay is just a guess



More information about the openfirmware mailing list