[OpenBIOS] r780 - in dev/olpc: kb3700 spiflash

svn at openbios.org svn at openbios.org
Fri Jan 18 18:38:46 CET 2008


Author: wmb
Date: 2008-01-18 18:38:46 +0100 (Fri, 18 Jan 2008)
New Revision: 780

Modified:
   dev/olpc/kb3700/battery.fth
   dev/olpc/spiflash/spiui.fth
Log:
OLPC Selftest enhancements - display manufacturing data and battery info in selftest.



Modified: dev/olpc/kb3700/battery.fth
===================================================================
--- dev/olpc/kb3700/battery.fth	2008-01-18 06:49:42 UTC (rev 779)
+++ dev/olpc/kb3700/battery.fth	2008-01-18 17:38:46 UTC (rev 780)
@@ -117,6 +117,15 @@
 ;
 \ send questions to andrew at gold peak
 
+dev /
+new-device
+" battery" device-name
+: selftest  ( -- error? )
+   .bat
+   false
+;
+finish-device
+device-end
 
 \ LICENSE_BEGIN
 \ Copyright (c) 2006 FirmWorks

Modified: dev/olpc/spiflash/spiui.fth
===================================================================
--- dev/olpc/spiflash/spiui.fth	2008-01-18 06:49:42 UTC (rev 779)
+++ dev/olpc/spiflash/spiui.fth	2008-01-18 17:38:46 UTC (rev 780)
@@ -282,6 +282,7 @@
 [ifdef] dev
 dev /flash
 : selftest  ( -- error? )
+   .mfg-data
 
    slow-flash-read
 




More information about the OpenBIOS mailing list