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-iop13xx | |
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-iop13xx')
-rw-r--r-- | arch/arm/mach-iop13xx/include/mach/hardware.h | 7 | ||||
-rw-r--r-- | arch/arm/mach-iop13xx/pci.c | 5 |
2 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/mach-iop13xx/include/mach/hardware.h b/arch/arm/mach-iop13xx/include/mach/hardware.h index 8e1d56289846..786fa266fab3 100644 --- a/arch/arm/mach-iop13xx/include/mach/hardware.h +++ b/arch/arm/mach-iop13xx/include/mach/hardware.h | |||
@@ -2,18 +2,11 @@ | |||
2 | #define __ASM_ARCH_HARDWARE_H | 2 | #define __ASM_ARCH_HARDWARE_H |
3 | #include <asm/types.h> | 3 | #include <asm/types.h> |
4 | 4 | ||
5 | #define pcibios_assign_all_busses() 1 | ||
6 | |||
7 | #ifndef __ASSEMBLY__ | 5 | #ifndef __ASSEMBLY__ |
8 | extern unsigned long iop13xx_pcibios_min_io; | ||
9 | extern unsigned long iop13xx_pcibios_min_mem; | ||
10 | extern u16 iop13xx_dev_id(void); | 6 | extern u16 iop13xx_dev_id(void); |
11 | extern void iop13xx_set_atu_mmr_bases(void); | 7 | extern void iop13xx_set_atu_mmr_bases(void); |
12 | #endif | 8 | #endif |
13 | 9 | ||
14 | #define PCIBIOS_MIN_IO (iop13xx_pcibios_min_io) | ||
15 | #define PCIBIOS_MIN_MEM (iop13xx_pcibios_min_mem) | ||
16 | |||
17 | /* | 10 | /* |
18 | * Generic chipset bits | 11 | * Generic chipset bits |
19 | * | 12 | * |
diff --git a/arch/arm/mach-iop13xx/pci.c b/arch/arm/mach-iop13xx/pci.c index ba3dae352a2d..0690b1d7fd3e 100644 --- a/arch/arm/mach-iop13xx/pci.c +++ b/arch/arm/mach-iop13xx/pci.c | |||
@@ -39,8 +39,6 @@ u32 iop13xx_atue_mem_base; | |||
39 | u32 iop13xx_atux_mem_base; | 39 | u32 iop13xx_atux_mem_base; |
40 | size_t iop13xx_atue_mem_size; | 40 | size_t iop13xx_atue_mem_size; |
41 | size_t iop13xx_atux_mem_size; | 41 | size_t iop13xx_atux_mem_size; |
42 | unsigned long iop13xx_pcibios_min_io = 0; | ||
43 | unsigned long iop13xx_pcibios_min_mem = 0; | ||
44 | 42 | ||
45 | EXPORT_SYMBOL(iop13xx_atue_mem_base); | 43 | EXPORT_SYMBOL(iop13xx_atue_mem_base); |
46 | EXPORT_SYMBOL(iop13xx_atux_mem_base); | 44 | EXPORT_SYMBOL(iop13xx_atux_mem_base); |
@@ -971,7 +969,8 @@ void __init iop13xx_pci_init(void) | |||
971 | __raw_writel(__raw_readl(IOP13XX_XBG_BECSR) & 3, IOP13XX_XBG_BECSR); | 969 | __raw_writel(__raw_readl(IOP13XX_XBG_BECSR) & 3, IOP13XX_XBG_BECSR); |
972 | 970 | ||
973 | /* Setup the Min Address for PCI memory... */ | 971 | /* Setup the Min Address for PCI memory... */ |
974 | iop13xx_pcibios_min_mem = IOP13XX_PCIX_LOWER_MEM_BA; | 972 | pcibios_min_io = 0; |
973 | pcibios_min_mem = IOP13XX_PCIX_LOWER_MEM_BA; | ||
975 | 974 | ||
976 | /* if Linux is given control of an ATU | 975 | /* if Linux is given control of an ATU |
977 | * clear out its prior configuration, | 976 | * clear out its prior configuration, |