From 49b23e035d96227e1d760e26a50688804de175ed Mon Sep 17 00:00:00 2001 From: VlaoMao Date: Fri, 22 Sep 2017 18:49:02 +0300 Subject: [PATCH] pci: mvebu: Increase size of PCIe default mapping Increase size PCI memory mapping from 32MiB to 128MiB. Signed-off-by: VlaoMao Signed-off-by: Stefan Roese --- drivers/pci/pci_mvebu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci_mvebu.c b/drivers/pci/pci_mvebu.c index da0aa29865..076a63f210 100644 --- a/drivers/pci/pci_mvebu.c +++ b/drivers/pci/pci_mvebu.c @@ -82,11 +82,11 @@ struct mvebu_pcie { /* * MVEBU PCIe controller needs MEMORY and I/O BARs to be mapped - * into SoCs address space. Each controller will map 32M of MEM + * into SoCs address space. Each controller will map 128M of MEM * and 64K of I/O space when registered. */ static void __iomem *mvebu_pcie_membase = (void __iomem *)MBUS_PCI_MEM_BASE; -#define PCIE_MEM_SIZE (32 << 20) +#define PCIE_MEM_SIZE (128 << 20) #if defined(CONFIG_ARMADA_38X) #define PCIE_BASE(if) \ -- 2.39.5