[openfirmware] [commit] r3682 - dev/mmc/sdhci
repository service
svn at openfirmware.info
Tue Jun 25 09:11:00 CEST 2013
Author: quozl
Date: Tue Jun 25 09:10:59 2013
New Revision: 3682
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3682
Log:
OLPC XO-1.5 - fix build broken by r3681, test-station is not defined inside FCode drivers
Modified:
dev/mmc/sdhci/selftest.fth
Modified: dev/mmc/sdhci/selftest.fth
==============================================================================
--- dev/mmc/sdhci/selftest.fth Mon Jun 24 12:12:32 2013 (r3681)
+++ dev/mmc/sdhci/selftest.fth Tue Jun 25 09:10:59 2013 (r3682)
@@ -98,13 +98,19 @@
false
;
+[ifdef] test-station
+: ship? test-station 6 = ;
+[else]
+: ship? true ;
+[then]
+
external
: selftest ( -- error? )
set-unit
wait-card? if
\ Operator may abandon test when card is not present ...
- test-station 6 = if
+ ship? if
external? 0= \ ... is not an error for unpopulated external SD
else
true \ ... is always an error in SMT or RUNIN
More information about the openfirmware
mailing list