summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2017-03-07 09:12:09 +0800
committerAnson Huang <Anson.Huang@nxp.com>2017-06-08 21:00:34 +0800
commita06c1f2743126fb9ab65c8511ed52ba51000b594 (patch)
tree23b6f5353b00fecd2b0e2bb430d299242cd0b71a /drivers/pci
parent757f88c87d623e08d2b085d8e5392024c5a96df6 (diff)
MLK-14325-3 PCI: designware: Remove the redundant codes
Remove the redundant codes in pcie-designware driver. Because that the class configration had been contained in 4.9 kernel. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pcie-designware.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
index 95b4f1930e30..f9c0ecfcd138 100644
--- a/drivers/pci/host/pcie-designware.c
+++ b/drivers/pci/host/pcie-designware.c
@@ -889,11 +889,6 @@ void dw_pcie_setup_rc(struct pcie_port *pp)
val |= 0x00010100;
dw_pcie_writel_rc(pp, PCI_PRIMARY_BUS, val);
- /* program correct class for RC */
- val = dw_pcie_readl_rc(pp, PCI_CLASS_REVISION);
- val |= PCI_CLASS_BRIDGE_PCI << 16;
- dw_pcie_writel_rc(pp, val, PCI_CLASS_REVISION);
-
/* setup command register */
val = dw_pcie_readl_rc(pp, PCI_COMMAND);
val &= 0xffff0000;