[openfirmware] [commit] r3336 - dev/mmc/sdhci/mv8686

repository service svn at openfirmware.info
Thu Sep 27 03:12:32 CEST 2012


Author: wmb
Date: Thu Sep 27 03:12:32 2012
New Revision: 3336
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3336

Log:
OLPC WLAN driver - Use $read-file instead of boot-read in find-fw, so the result is always in allocated memory, and can thus be safely freed.

Modified:
   dev/mmc/sdhci/mv8686/common.fth

Modified: dev/mmc/sdhci/mv8686/common.fth
==============================================================================
--- dev/mmc/sdhci/mv8686/common.fth	Thu Sep 27 02:49:12 2012	(r3335)
+++ dev/mmc/sdhci/mv8686/common.fth	Thu Sep 27 03:12:32 2012	(r3336)
@@ -79,8 +79,8 @@
 
 : find-fw  ( $ -- adr len )
    over " rom:" comp  if
-      " boot-read" evaluate		\ Not a dropin
-      " loaded" evaluate
+      \ Not a dropin
+      " $read-file" evaluate  if  null$  then  ( adr len )
    else
       4 - swap 4 + swap " find-drop-in" evaluate  0=  if  null$  then
    then



More information about the openfirmware mailing list