summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/via/k8t890/k8t890_pcie.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/southbridge/via/k8t890/k8t890_pcie.c b/src/southbridge/via/k8t890/k8t890_pcie.c
index 7dcc5af09b..6a7acbbfed 100644
--- a/src/southbridge/via/k8t890/k8t890_pcie.c
+++ b/src/southbridge/via/k8t890/k8t890_pcie.c
@@ -41,8 +41,6 @@ static void peg_init(struct device *dev)
* pci_write_config8(dev, 0xe2, 0x0);
* pci_write_config8(dev, 0xe3, 0x92);
*/
- /* Disable scrambling bit 6 to 1. */
- pci_write_config8(dev, 0xc0, 0x43);
/* Set replay timer limit. */
pci_write_config8(dev, 0xb1, 0xf0);
@@ -62,18 +60,6 @@ static void peg_init(struct device *dev)
reg = pci_read_config8(dev, 0x50);
pci_write_config8(dev, 0x50, reg & ~0x10);
- /* Retrain link. */
- reg = pci_read_config8(dev, 0x50);
- pci_write_config8(dev, 0x50, reg | 0x20);
-
- reg = pci_read_config8(dev, 0x3e);
- reg |= 0x40; /* Bus reset. */
- pci_write_config8(dev, 0x3e, reg);
-
- reg = pci_read_config8(dev, 0x3e);
- reg &= ~0x40; /* Clear reset. */
- pci_write_config8(dev, 0x3e, reg);
-
dump_south(dev);
}
@@ -97,18 +83,6 @@ static void pcie_init(struct device *dev)
reg = pci_read_config8(dev, 0x50);
pci_write_config8(dev, 0x50, reg & ~0x10);
- /* Retrain. */
- reg = pci_read_config8(dev, 0x50);
- pci_write_config8(dev, 0x50, reg | 0x20);
-
- reg = pci_read_config8(dev, 0x3e);
- reg |= 0x40; /* Bus reset. */
- pci_write_config8(dev, 0x3e, reg);
-
- reg = pci_read_config8(dev, 0x3e);
- reg &= ~0x40; /* Clear reset. */
- pci_write_config8(dev, 0x3e, reg);
-
dump_south(dev);
}