aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/pci/pcie-sh7786.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-09-20 16:00:42 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-09-20 16:00:42 +0900
commitbeb54ad9c6fb60901d9445056d40bdaccdc3e819 (patch)
tree711064a71a66afea852d47c81ecce8ff529ac105 /arch/sh/drivers/pci/pcie-sh7786.c
parentsh: pci: Support root complex config accesses on SH7786 PCIe. (diff)
downloadlinux-dev-beb54ad9c6fb60901d9445056d40bdaccdc3e819.tar.xz
linux-dev-beb54ad9c6fb60901d9445056d40bdaccdc3e819.zip
sh: pci: Discard initial PCICONF4/5 settings for SH7786 PCIe.
These settings are properly propagated by the hardware already, so there's no need to bother with them manually. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers/pci/pcie-sh7786.c')
-rw-r--r--arch/sh/drivers/pci/pcie-sh7786.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/drivers/pci/pcie-sh7786.c b/arch/sh/drivers/pci/pcie-sh7786.c
index 3dfc250b897a..21854ebbaa7c 100644
--- a/arch/sh/drivers/pci/pcie-sh7786.c
+++ b/arch/sh/drivers/pci/pcie-sh7786.c
@@ -323,9 +323,6 @@ static int pcie_init(struct sh7786_pcie_port *port)
__raw_writel(memphys, chan->reg_base + SH4A_PCIELAR0);
__raw_writel((memsize - SZ_256) | 1, chan->reg_base + SH4A_PCIELAMR0);
- __raw_writel(memphys, chan->reg_base + SH4A_PCIEPCICONF4);
- __raw_writel(0, chan->reg_base + SH4A_PCIEPCICONF5);
-
/* Finish initialization */
data = pci_read_reg(chan, SH4A_PCIETCTLR);
data |= 0x1;