diff options
Diffstat (limited to 'arch/arm/mach-versatile/pci.c')
-rw-r--r-- | arch/arm/mach-versatile/pci.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-versatile/pci.c b/arch/arm/mach-versatile/pci.c index 13c7e5f90a8..c898deb3ada 100644 --- a/arch/arm/mach-versatile/pci.c +++ b/arch/arm/mach-versatile/pci.c | |||
@@ -311,6 +311,9 @@ struct pci_bus * __init pci_versatile_scan_bus(int nr, struct pci_sys_data *sys) | |||
311 | 311 | ||
312 | void __init pci_versatile_preinit(void) | 312 | void __init pci_versatile_preinit(void) |
313 | { | 313 | { |
314 | pcibios_min_io = 0x44000000; | ||
315 | pcibios_min_mem = 0x50000000; | ||
316 | |||
314 | __raw_writel(VERSATILE_PCI_MEM_BASE0 >> 28, PCI_IMAP0); | 317 | __raw_writel(VERSATILE_PCI_MEM_BASE0 >> 28, PCI_IMAP0); |
315 | __raw_writel(VERSATILE_PCI_MEM_BASE1 >> 28, PCI_IMAP1); | 318 | __raw_writel(VERSATILE_PCI_MEM_BASE1 >> 28, PCI_IMAP1); |
316 | __raw_writel(VERSATILE_PCI_MEM_BASE2 >> 28, PCI_IMAP2); | 319 | __raw_writel(VERSATILE_PCI_MEM_BASE2 >> 28, PCI_IMAP2); |
@@ -325,7 +328,7 @@ void __init pci_versatile_preinit(void) | |||
325 | /* | 328 | /* |
326 | * map the specified device/slot/pin to an IRQ. Different backplanes may need to modify this. | 329 | * map the specified device/slot/pin to an IRQ. Different backplanes may need to modify this. |
327 | */ | 330 | */ |
328 | static int __init versatile_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | 331 | static int __init versatile_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) |
329 | { | 332 | { |
330 | int irq; | 333 | int irq; |
331 | int devslot = PCI_SLOT(dev->devfn); | 334 | int devslot = PCI_SLOT(dev->devfn); |