[openfirmware] r1168 - dev/mmc/sdhci

svn at openfirmware.info svn at openfirmware.info
Sun May 3 10:47:05 CEST 2009


Author: wmb
Date: 2009-05-03 10:47:05 +0200 (Sun, 03 May 2009)
New Revision: 1168

Modified:
   dev/mmc/sdhci/sdhci.fth
Log:
SDHCI - unmap the correct register size depending on which controller.




Modified: dev/mmc/sdhci/sdhci.fth
===================================================================
--- dev/mmc/sdhci/sdhci.fth	2009-05-03 08:46:13 UTC (rev 1167)
+++ dev/mmc/sdhci/sdhci.fth	2009-05-03 08:47:05 UTC (rev 1168)
@@ -59,7 +59,7 @@
 : unmap-regs  ( -- )
    chip  0=  if  exit  then
    0 4 my-w!
-   chip  h# 4000  " map-out" $call-parent
+   chip  /regs  " map-out" $call-parent
    0 to chip
 ;
 




More information about the openfirmware mailing list