Comment clarifications.

Signed-off-by: Tobias Diedrich <[email protected]>

---

Index: src/southbridge/via/k8t890/k8t890_ctrl.c
===================================================================
--- src/southbridge/via/k8t890/k8t890_ctrl.c.orig       2010-11-07 
12:51:16.000000000 +0100
+++ src/southbridge/via/k8t890/k8t890_ctrl.c    2010-11-07 12:52:38.000000000 
+0100
@@ -154,7 +154,11 @@
 
        pci_write_config8(dev, 0x47, 0x30);
 
-       /* VT8237R specific configuration  other SB are done in their own 
directories */
+       /*
+        * VT8237R specific configuration,
+        * other SB are done in their own directories:
+        * VT8237A and VT8237S are handled in vt8237_ctrl.c
+        */
 
        device_t devsb = dev_find_device(PCI_VENDOR_ID_VIA,
                                         PCI_DEVICE_ID_VIA_VT8237R_LPC, 0);
Index: src/southbridge/via/vt8237r/vt8237r_lpc.c
===================================================================
--- src/southbridge/via/vt8237r/vt8237r_lpc.c.orig      2010-11-07 
12:52:23.000000000 +0100
+++ src/southbridge/via/vt8237r/vt8237r_lpc.c   2010-11-07 12:52:38.000000000 
+0100
@@ -460,7 +460,18 @@
        /* I/O recovery time, default IDE routing */
        pci_write_config8(dev, 0x4c, 0x04);
 
-       /* ROM memory cycles go to LPC. */
+       /*
+        * Bit | Meaning
+        *   7 | 1: Only ROM memory cycles go to LPC instead of all memory
+        *     |    cycles.
+        *   6 | 0: Internal ISA cycles do not arbitrate with secondary IDE
+        *   5 | 0: Disable LPC RTC
+        *   4 | 0: Disable LPC Keyboard
+        *   3 | 0: Disable Port 0x62/0x66 to LPC
+        *   2 | 0: Disable Port 0x62/0x66 MCCS# chipselect decoding
+        *   1 | 0: Disable A20M# signal (signal not asserted)
+        *   0 | 0: Disable NMI on PCI parity error
+        */
        pci_write_config8(dev, 0x59, 0x80);
 
        /*
@@ -482,7 +493,18 @@
        /* I/O recovery time, default IDE routing */
        pci_write_config8(dev, 0x4c, 0x44);
 
-       /* ROM memory cycles go to LPC. */
+       /*
+        * Bit | Meaning
+        *   7 | 1: Only ROM memory cycles go to LPC instead of all memory
+        *     |    cycles.
+        *   6 | 0: Internal ISA cycles do not arbitrate with secondary IDE
+        *   5 | 0: Disable LPC RTC
+        *   4 | 0: Disable LPC Keyboard
+        *   3 | 0: Disable Port 0x62/0x66 to LPC
+        *   2 | 0: Disable Port 0x62/0x66 MCCS# chipselect decoding
+        *   1 | 0: Disable A20M# signal (signal not asserted)
+        *   0 | 0: Disable NMI on PCI parity error
+        */
        pci_write_config8(dev, 0x59, 0x80);
 
        /*


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to