diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 20:12:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 20:12:10 -0400 |
commit | 3960ef326a1838971466193ffa008ff37c1d978d (patch) | |
tree | 282b74377bccb9fa79639ce4df2dcb48652dbdec /arch/arm/mach-ixp4xx | |
parent | 62c9072bee2272232d0ed92dc8148c48c1f10f8e (diff) | |
parent | c8f85523e70f8202ff49858bacd72fa65245f382 (diff) |
Merge branch 'next/cross-platform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc
* 'next/cross-platform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
ARM: Consolidate the clkdev header files
ARM: set vga memory base at run-time
ARM: convert PCI defines to variables
ARM: pci: make pcibios_assign_all_busses use pci_has_flag
ARM: remove unnecessary mach/hardware.h includes
pci: move microblaze and powerpc pci flag functions into asm-generic
powerpc: rename ppc_pci_*_flags to pci_*_flags
Fix up conflicts in arch/microblaze/include/asm/pci-bridge.h
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/common-pci.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/include/mach/hardware.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-ixp4xx/common-pci.c b/arch/arm/mach-ixp4xx/common-pci.c index e2e98bbb6413..2131832ee6ba 100644 --- a/arch/arm/mach-ixp4xx/common-pci.c +++ b/arch/arm/mach-ixp4xx/common-pci.c | |||
@@ -346,6 +346,11 @@ void __init ixp4xx_pci_preinit(void) | |||
346 | { | 346 | { |
347 | unsigned long cpuid = read_cpuid_id(); | 347 | unsigned long cpuid = read_cpuid_id(); |
348 | 348 | ||
349 | #ifdef CONFIG_IXP4XX_INDIRECT_PCI | ||
350 | pcibios_min_mem = 0x10000000; /* 1 GB of indirect PCI MMIO space */ | ||
351 | #else | ||
352 | pcibios_min_mem = 0x48000000; /* 64 MB of PCI MMIO space */ | ||
353 | #endif | ||
349 | /* | 354 | /* |
350 | * Determine which PCI read method to use. | 355 | * Determine which PCI read method to use. |
351 | * Rev 0 IXP425 requires workaround. | 356 | * Rev 0 IXP425 requires workaround. |
diff --git a/arch/arm/mach-ixp4xx/include/mach/hardware.h b/arch/arm/mach-ixp4xx/include/mach/hardware.h index 8138371c406e..c30e7e923a73 100644 --- a/arch/arm/mach-ixp4xx/include/mach/hardware.h +++ b/arch/arm/mach-ixp4xx/include/mach/hardware.h | |||
@@ -17,19 +17,14 @@ | |||
17 | #ifndef __ASM_ARCH_HARDWARE_H__ | 17 | #ifndef __ASM_ARCH_HARDWARE_H__ |
18 | #define __ASM_ARCH_HARDWARE_H__ | 18 | #define __ASM_ARCH_HARDWARE_H__ |
19 | 19 | ||
20 | #define PCIBIOS_MIN_IO 0x00001000 | ||
21 | #ifdef CONFIG_IXP4XX_INDIRECT_PCI | 20 | #ifdef CONFIG_IXP4XX_INDIRECT_PCI |
22 | #define PCIBIOS_MIN_MEM 0x10000000 /* 1 GB of indirect PCI MMIO space */ | ||
23 | #define PCIBIOS_MAX_MEM 0x4FFFFFFF | 21 | #define PCIBIOS_MAX_MEM 0x4FFFFFFF |
24 | #else | 22 | #else |
25 | #define PCIBIOS_MIN_MEM 0x48000000 /* 64 MB of PCI MMIO space */ | ||
26 | #define PCIBIOS_MAX_MEM 0x4BFFFFFF | 23 | #define PCIBIOS_MAX_MEM 0x4BFFFFFF |
27 | #endif | 24 | #endif |
28 | 25 | ||
29 | #define ARCH_HAS_DMA_SET_COHERENT_MASK | 26 | #define ARCH_HAS_DMA_SET_COHERENT_MASK |
30 | 27 | ||
31 | #define pcibios_assign_all_busses() 1 | ||
32 | |||
33 | /* Register locations and bits */ | 28 | /* Register locations and bits */ |
34 | #include "ixp4xx-regs.h" | 29 | #include "ixp4xx-regs.h" |
35 | 30 | ||