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

repository service svn at openfirmware.info
Tue Sep 21 02:32:01 CEST 2010


Author: wmb
Date: Tue Sep 21 02:32:00 2010
New Revision: 1959
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1959

Log:
Reverted svn 1950 (3-second delay for SD), because it doesn't appear to help or to be necessary.  The SD power off delay is in the EC code.

Modified:
   dev/mmc/sdhci/sdhci.fth

Modified: dev/mmc/sdhci/sdhci.fth
==============================================================================
--- dev/mmc/sdhci/sdhci.fth	Tue Sep 21 01:58:17 2010	(r1958)
+++ dev/mmc/sdhci/sdhci.fth	Tue Sep 21 02:32:00 2010	(r1959)
@@ -443,7 +443,6 @@
 : protected?  ( group# -- 32-bits )  h# 1e1a cmd  response  ;  \ CMD30 R1 UNTESTED
 
 0 instance value writing?
-0 instance value last-write-time
 
 : erase-blocks  ( block# #blocks -- ) \ UNTESTED
    intstat-on
@@ -874,10 +873,6 @@
 
 : detach-card  ( -- )
    wait-dma-done
-   last-write-time  if
-      begin  get-msecs last-write-time -  d# 3000 >  until
-   then
-
    intstat-on  wait-write-done drop  intstat-off
    card-clock-off
    card-power-off
@@ -950,7 +945,6 @@
    else                                 ( block# r: #blocks fresh? )
       r>  if  r@ pre-write-erase  then  ( block# r: #blocks )
       r> issue-write                    ( )
-      get-msecs to last-write-time      ( )
       true to writing?                  ( )
    then                                 ( )
    true to dma?                         ( )



More information about the openfirmware mailing list