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

repository service svn at openfirmware.info
Mon Jan 17 07:20:26 CET 2011


Author: wmb
Date: Mon Jan 17 07:20:26 2011
New Revision: 2109
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2109

Log:
sdhci.fth - added definition of le-l@ for the fcode-building case.

Modified:
   dev/mmc/sdhci/sdhci.fth

Modified: dev/mmc/sdhci/sdhci.fth
==============================================================================
--- dev/mmc/sdhci/sdhci.fth	Fri Jan 14 01:10:40 2011	(r2108)
+++ dev/mmc/sdhci/sdhci.fth	Mon Jan 17 07:20:26 2011	(r2109)
@@ -1141,6 +1141,12 @@
    r> base !
 ;
 
+[ifndef] le-l@
+: le-l@  ( adr -- l )
+   >r  r@ c@  r@ 1+ c@  r@ 2+ c@  r> 3 + c@  bljoin
+;
+[then]
+
 \ The calculation below is shown on page 81 of the
 \ SD Physical Layer Simplified Specification Version 2.00.
 : size  ( -- d.bytes )



More information about the openfirmware mailing list