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