[OpenBIOS] r389 - cpu/x86/pc/olpc dev/olpc/kb3700

svn at openbios.org svn at openbios.org
Wed May 16 11:05:58 CEST 2007


Author: wmb
Date: 2007-05-16 11:05:57 +0200 (Wed, 16 May 2007)
New Revision: 389

Modified:
   cpu/x86/pc/olpc/devices.fth
   dev/olpc/kb3700/ecio.fth
Log:
OLPC - in the EC, turn off auto-SCI-generation for port 66, thus
squelching a flood of SCIs.



Modified: cpu/x86/pc/olpc/devices.fth
===================================================================
--- cpu/x86/pc/olpc/devices.fth	2007-05-16 08:54:20 UTC (rev 388)
+++ cpu/x86/pc/olpc/devices.fth	2007-05-16 09:05:57 UTC (rev 389)
@@ -253,6 +253,10 @@
    to board-revision
 ;
 
+stand-init: Quiet SCI
+   sci-quiet
+;
+
 stand-init: Wireless reset
 [ifdef] lx-devel  exit  [then]
 

Modified: dev/olpc/kb3700/ecio.fth
===================================================================
--- dev/olpc/kb3700/ecio.fth	2007-05-16 08:54:20 UTC (rev 388)
+++ dev/olpc/kb3700/ecio.fth	2007-05-16 09:05:57 UTC (rev 389)
@@ -149,6 +149,10 @@
 
 : snoop-board-id@  ( -- id )  h# fa20 ec@  ;
 
+\ This makes the EC stop generating a flood of SCIs every time you do
+\ the port 66 command sequence.
+: sci-quiet  ( -- )  h# 50  h# ff03 ec!  ;
+
 \ 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