[openfirmware] r1384 - cpu/x86/pc/olpc/via

svn at openfirmware.info svn at openfirmware.info
Thu Oct 1 10:41:29 CEST 2009


Author: wmb
Date: 2009-10-01 10:41:28 +0200 (Thu, 01 Oct 2009)
New Revision: 1384

Modified:
   cpu/x86/pc/olpc/via/startcominit.fth
Log:
Via - Enable I/O recovery time before reading CMOS, at Via's suggestion.
It doesn't fix the CMOS-takes-50ms-to-respond problem, but seems like
a good thing to do nevertheless.


Modified: cpu/x86/pc/olpc/via/startcominit.fth
===================================================================
--- cpu/x86/pc/olpc/via/startcominit.fth	2009-10-01 08:38:31 UTC (rev 1383)
+++ cpu/x86/pc/olpc/via/startcominit.fth	2009-10-01 08:41:28 UTC (rev 1384)
@@ -37,6 +37,8 @@
    \ Configure the I/O decoding to enable access to the EC
    \ Do this outside the if..then so the setup is consistent in all cases
    d# 17 0 devfunc
+   40 44 44 mreg  \ Enable I/O Recovery time (40), Enable ports 4d0/4d1 for edge/level setting (04)
+   4c c0 40 mreg  \ Set I/O recovery time to 2 bus clocks
    59 ff 1c mreg  \ Keyboard (ports 60,64) and ports 62,66 on LPC bus (EC)
    5c ff 68 mreg  \ High byte (68) of PCS0
    5d ff 00 mreg  \ High byte (00) of PCS0




More information about the openfirmware mailing list