[openfirmware] r1620 - dev/mmc/sdhci

svn at openfirmware.info svn at openfirmware.info
Wed Dec 16 05:56:38 CET 2009


Author: wmb
Date: 2009-12-16 05:56:37 +0100 (Wed, 16 Dec 2009)
New Revision: 1620

Modified:
   dev/mmc/sdhci/sdhci.fth
Log:
SD driver - write-blocks-end was leaving an extra 0 on the stack,
causing fs-update to mess up Command: in assy.fth


Modified: dev/mmc/sdhci/sdhci.fth
===================================================================
--- dev/mmc/sdhci/sdhci.fth	2009-12-16 00:55:51 UTC (rev 1619)
+++ dev/mmc/sdhci/sdhci.fth	2009-12-16 04:56:37 UTC (rev 1620)
@@ -865,7 +865,8 @@
 : detach-sdio-card  ( -- )
 ;
 
-: r/w-blocks-end  ( -- error? )
+: r/w-blocks-end  ( in? -- error? )
+   drop
    wait-dma-done
    intstat-on  wait-write-done  intstat-off
 ;




More information about the openfirmware mailing list