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

svn at openfirmware.info svn at openfirmware.info
Sun May 31 17:24:46 CEST 2009


Author: wmb
Date: 2009-05-31 17:24:46 +0200 (Sun, 31 May 2009)
New Revision: 1208

Modified:
   cpu/x86/pc/olpc/via/devices.fth
   cpu/x86/pc/olpc/via/ioinit.fth
Log:
VIA version - fixed I/O forwarding to EC ports 62/66 and 68/6c.


Modified: cpu/x86/pc/olpc/via/devices.fth
===================================================================
--- cpu/x86/pc/olpc/via/devices.fth	2009-05-31 10:22:28 UTC (rev 1207)
+++ cpu/x86/pc/olpc/via/devices.fth	2009-05-31 15:24:46 UTC (rev 1208)
@@ -273,11 +273,6 @@
 : ignore-power-button ( -- ) ;
 fload ${BP}/dev/olpc/kb3700/ecio.fth       \ I/O space access to EC chip
 
-.( XXX Fix ec cmd66) cr
-patch drop ec-cmd66 kbc-off
-[then]
-
-[ifdef] use-ec-Later
 fload ${BP}/cpu/x86/pc/olpc/via/boardrev.fth   \ Board revision decoding
 [then]
 

Modified: cpu/x86/pc/olpc/via/ioinit.fth
===================================================================
--- cpu/x86/pc/olpc/via/ioinit.fth	2009-05-31 10:22:28 UTC (rev 1207)
+++ cpu/x86/pc/olpc/via/ioinit.fth	2009-05-31 15:24:46 UTC (rev 1208)
@@ -169,7 +169,12 @@
    58 40 40 mreg  \ Enable Internal APIC
 [then]
 [ifdef] xo-board
-   59 ff 18 mreg  \ Keyboard (ports 60,64) and ports 62,66 on LPC bus (EC)
+   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
+   64 0f 07 mreg  \ PCS0 size is 8 bytes - to include 68 and 6c
+   66 01 01 mreg  \ PCS0 Enable
+   67 10 10 mreg  \ PCS0 to LPC Bus
 [then]
 [ifdef] use-apic
 \  5b 10 10 mreg  \ Enable APIC Clock Gating




More information about the openfirmware mailing list