Comments
Patch
===================================================================
@@ -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);
===================================================================
@@ -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);
/*
Comment clarifications. Signed-off-by: Tobias Diedrich <ranma+coreboot@tdiedrich.de> ---