diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-06-29 11:59:45 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2011-07-12 12:19:28 -0400 |
commit | dc8d966bccde0b8b6c9e8c6e663c747030c17435 (patch) | |
tree | b81db07a29fe9be3472537efc858ad24bea9ba16 /arch/arm/mach-versatile/include | |
parent | b480a4b0c81b5e3a5ccc3c045da35d890e80afb4 (diff) |
ARM: pci: make pcibios_assign_all_busses use pci_has_flag
Convert pcibios_assign_all_busses from a define to inline so platforms can
control this setting.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-versatile/include')
-rw-r--r-- | arch/arm/mach-versatile/include/mach/hardware.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-versatile/include/mach/hardware.h b/arch/arm/mach-versatile/include/mach/hardware.h index 6911e1f5f156..8f60e9481fbb 100644 --- a/arch/arm/mach-versatile/include/mach/hardware.h +++ b/arch/arm/mach-versatile/include/mach/hardware.h | |||
@@ -34,8 +34,6 @@ | |||
34 | #define PCIBIOS_MIN_IO 0x44000000 | 34 | #define PCIBIOS_MIN_IO 0x44000000 |
35 | #define PCIBIOS_MIN_MEM 0x50000000 | 35 | #define PCIBIOS_MIN_MEM 0x50000000 |
36 | 36 | ||
37 | #define pcibios_assign_all_busses() 1 | ||
38 | |||
39 | /* macro to get at IO space when running virtually */ | 37 | /* macro to get at IO space when running virtually */ |
40 | #define IO_ADDRESS(x) (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000) | 38 | #define IO_ADDRESS(x) (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000) |
41 | 39 | ||