Author: quozl
Date: Mon Jun 24 12:12:32 2013
New Revision: 3681
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3681
Log:
OLPC XO-4 - force operator abandon of SD card test to cause overall test sequence abort
Modified:
dev/mmc/sdhci/selftest.fth
Modified: dev/mmc/sdhci/selftest.fth
==============================================================================
--- dev/mmc/sdhci/selftest.fth Mon Jun 24 05:07:13 2013 (r3680)
+++ dev/mmc/sdhci/selftest.fth Mon Jun 24 12:12:32 2013 (r3681)
@@ -103,7 +103,13 @@
set-unit
wait-card? if
- external? 0= exit \ Unpopulated external SD is not an error
+ \ Operator may abandon test when card is not present ...
+ test-station 6 = if
+ external? 0= \ ... is not an error for unpopulated external SD
+ else
+ true \ ... is always an error in SMT or RUNIN
+ then
+ exit
then
open 0= if ." Open SD card failed" cr true exit then