Skip to content

Commit

Permalink
sh: pci: Discard initial PCICONF4/5 settings for SH7786 PCIe.
Browse files Browse the repository at this point in the history
These settings are properly propagated by the hardware already, so
there's no need to bother with them manually.

Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
pmundt committed Sep 20, 2010
1 parent 2c65d75 commit beb54ad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/sh/drivers/pci/pcie-sh7786.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit beb54ad

Please sign in to comment.