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-footbridge | |
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-footbridge')
-rw-r--r-- | arch/arm/mach-footbridge/dc21285.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/include/mach/hardware.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-footbridge/dc21285.c b/arch/arm/mach-footbridge/dc21285.c index 3ffa54841ec..1331fff51ae 100644 --- a/arch/arm/mach-footbridge/dc21285.c +++ b/arch/arm/mach-footbridge/dc21285.c | |||
@@ -295,6 +295,9 @@ void __init dc21285_preinit(void) | |||
295 | unsigned int mem_size, mem_mask; | 295 | unsigned int mem_size, mem_mask; |
296 | int cfn_mode; | 296 | int cfn_mode; |
297 | 297 | ||
298 | pcibios_min_mem = 0x81000000; | ||
299 | vga_base = PCIMEM_BASE; | ||
300 | |||
298 | mem_size = (unsigned int)high_memory - PAGE_OFFSET; | 301 | mem_size = (unsigned int)high_memory - PAGE_OFFSET; |
299 | for (mem_mask = 0x00100000; mem_mask < 0x10000000; mem_mask <<= 1) | 302 | for (mem_mask = 0x00100000; mem_mask < 0x10000000; mem_mask <<= 1) |
300 | if (mem_mask >= mem_size) | 303 | if (mem_mask >= mem_size) |
diff --git a/arch/arm/mach-footbridge/include/mach/hardware.h b/arch/arm/mach-footbridge/include/mach/hardware.h index b6fdf23ecf6..15d54981674 100644 --- a/arch/arm/mach-footbridge/include/mach/hardware.h +++ b/arch/arm/mach-footbridge/include/mach/hardware.h | |||
@@ -100,9 +100,4 @@ extern unsigned int nw_gpio_read(void); | |||
100 | extern void nw_cpld_modify(unsigned int mask, unsigned int set); | 100 | extern void nw_cpld_modify(unsigned int mask, unsigned int set); |
101 | #endif | 101 | #endif |
102 | 102 | ||
103 | #define pcibios_assign_all_busses() 1 | ||
104 | |||
105 | #define PCIBIOS_MIN_IO 0x1000 | ||
106 | #define PCIBIOS_MIN_MEM 0x81000000 | ||
107 | |||
108 | #endif | 103 | #endif |