[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbios
Subject:    [OpenBIOS] r643 - cpu/x86/pc/olpc
From:       svn () openbios ! org
Date:       2007-09-28 1:15:28
Message-ID: 200709280115.l8S1FWmo013377 () mailer ! progressive-comp ! com
[Download RAW message or body]

Author: wmb
Date: 2007-09-28 03:15:27 +0200 (Fri, 28 Sep 2007)
New Revision: 643

Modified:
   cpu/x86/pc/olpc/resume.bth
Log:
svn 640 for resume.bth was pessimistic - the SMBUS clock rate was
10 kHz instead of the correct 100 kHz.


Modified: cpu/x86/pc/olpc/resume.bth
===================================================================
--- cpu/x86/pc/olpc/resume.bth	2007-09-27 23:30:15 UTC (rev 642)
+++ cpu/x86/pc/olpc/resume.bth	2007-09-28 01:15:27 UTC (rev 643)
@@ -352,14 +352,14 @@
 
    8 # cx mov  \ Generate 8 low pulses on SMB_CLOCK
    begin
-      \ 50 uS delay (slightly longer for GX)
-      rdtsc  ax bx mov  d# 50 d# 500 * #  bx  add
+      \ 5 uS delay (slightly longer for GX)
+      rdtsc  ax bx mov  d# 5 d# 500 * #  bx  add
       begin  rdtsc  bx ax sub  0>= until
 
       h# 40000000 # ax mov  ax dx out    \ Clear SMB_CLOCK
 
       \ 50 uS delay (slightly longer for GX)
-      rdtsc  ax bx mov  d# 50 d# 500 * #  bx  add
+      rdtsc  ax bx mov  d# 5 d# 500 * #  bx  add
       begin  rdtsc  bx ax sub  0>= until
 
       h#     4000 # ax mov  ax dx out    \ Set SMB_CLOCK


-- 
OpenBIOS                 http://openbios.org/
Mailinglist:  http://lists.openbios.org/mailman/listinfo
Free your System - May the Forth be with you
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic