Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit beb54ad9 authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 2c65d75e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;