[OpenBIOS] r444 - dev/olpc/kb3700
svn at openbios.org
svn at openbios.org
Fri Jun 8 07:44:37 CEST 2007
Author: wmb
Date: 2007-06-08 07:44:36 +0200 (Fri, 08 Jun 2007)
New Revision: 444
Modified:
dev/olpc/kb3700/ecio.fth
Log:
OLPC ecio.fth - Remove WLAN RESET workaround, fixed battery init commands.
Modified: dev/olpc/kb3700/ecio.fth
===================================================================
--- dev/olpc/kb3700/ecio.fth 2007-06-07 08:55:47 UTC (rev 443)
+++ dev/olpc/kb3700/ecio.fth 2007-06-08 05:44:36 UTC (rev 444)
@@ -71,8 +71,9 @@
: ec-date! ( day month year -- ) h# 1e ec-cmd-out ec-wb ec-wb ec-wb ;
: ec-abnormal@ ( -- b ) h# 1f ec-cmd-b@ ;
-: bat-init-lifepo4 ( -- ) h# 21 ec-cmd-out ;
-: bat-init-nimh ( -- ) h# 22 ec-cmd-out ;
+: bat-init-nimh-gp ( -- ) h# 20 ec-cmd-out ;
+: bat-init-lifepo4-byd ( -- ) h# 21 ec-cmd-out ;
+: bat-init-lifepo4-gp ( -- ) h# 22 ec-cmd-out ;
: wlan-off ( -- ) 0 h# 23 ec-cmd-b! ;
: wlan-on ( -- ) 1 h# 23 ec-cmd-b! ;
: wlan-wake ( -- ) h# 24 ec-cmd-out ;
@@ -115,12 +116,6 @@
\ the port 66 command sequence.
: sci-quiet ( -- ) h# 50 h# ff03 ec! ;
-.( Redefining wlan-reset to add temporary workaround) cr
-: wlan-reset ( -- )
- h# fd h# fc15 ec!
- wlan-reset
-;
-
\ While accessing the SPI FLASH, we have to turn off the keyboard controller,
\ because it continuously fetches from the SPI FLASH when it's on. That
\ interferes with our accesses.
More information about the OpenBIOS
mailing list