From 9c28d61c8e65f2b1cf2db1ba262fe37e973beaa7 Mon Sep 17 00:00:00 2001 From: Anton Schubert Date: Tue, 11 Aug 2015 11:54:01 +0200 Subject: pci: mvebu: Add PCIe driver This adds a PCI driver for the controllers found on Marvell MVEBU SoCs. Besides the driver, this patch also removes the statically defined PCI MBUS windows. As they are not needed anymore, since this PCIe driver now creates the windows dynamically. Tested on Armada XP db-mv784mp-gp eval board using an Intel E1000 PCIe card in all 3 PCIe slots. And on the Armada 38x db-88f6820-gp eval board using this Intel E1000 PCIe card in the PCIe 0 slot. This port was done in cooperation with Anton Schubert. Signed-off-by: Anton Schubert Signed-off-by: Stefan Roese Cc: Luka Perkov Cc: Dirk Eibach --- arch/arm/mach-mvebu/cpu.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'arch') diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm/mach-mvebu/cpu.c index 1c5f4c3..ea83e21 100644 --- a/arch/arm/mach-mvebu/cpu.c +++ b/arch/arm/mach-mvebu/cpu.c @@ -18,14 +18,6 @@ #define DDR_SIZE_CS_OFF(n) (0x0004 + ((n) << 3)) static struct mbus_win windows[] = { - /* PCIE MEM address space */ - { MBUS_PCI_MEM_BASE, MBUS_PCI_MEM_SIZE, - CPU_TARGET_PCIE13, CPU_ATTR_PCIE_MEM }, - - /* PCIE IO address space */ - { MBUS_PCI_IO_BASE, MBUS_PCI_IO_SIZE, - CPU_TARGET_PCIE13, CPU_ATTR_PCIE_IO }, - /* SPI */ { MBUS_SPI_BASE, MBUS_SPI_SIZE, CPU_TARGET_DEVICEBUS_BOOTROM_SPI, CPU_ATTR_SPIFLASH }, -- cgit v1.1