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

repository service svn at openfirmware.info
Wed Feb 8 20:23:16 CET 2012


Author: wmb
Date: Wed Feb  8 20:23:15 2012
New Revision: 2855
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2855

Log:
OLPC trac #11612 - don't fail SD selftest on an unpopulated external SD slot.

Modified:
   dev/mmc/sdhci/selftest.fth

Modified: dev/mmc/sdhci/selftest.fth
==============================================================================
--- dev/mmc/sdhci/selftest.fth	Tue Feb  7 07:08:48 2012	(r2854)
+++ dev/mmc/sdhci/selftest.fth	Wed Feb  8 20:23:15 2012	(r2855)
@@ -102,7 +102,9 @@
 : selftest  ( -- error? )
    set-unit
 
-   wait-card?  if  true exit  then
+   wait-card?  if
+      external? 0= exit  \ Unpopulated external SD is not an error
+   then
 
    open 0=  if  ." Open SD card failed" cr true exit  then
    alloc-test-bufs



More information about the openfirmware mailing list