summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ixp2000/pci.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-06-29 19:59:45 +0400
committerRob Herring <rob.herring@calxeda.com>2011-07-12 20:19:28 +0400
commitdc8d966bccde0b8b6c9e8c6e663c747030c17435 (patch)
treeb81db07a29fe9be3472537efc858ad24bea9ba16 /arch/arm/mach-ixp2000/pci.c
parentb480a4b0c81b5e3a5ccc3c045da35d890e80afb4 (diff)
downloadlinux-dc8d966bccde0b8b6c9e8c6e663c747030c17435.tar.xz
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-ixp2000/pci.c')
-rw-r--r--arch/arm/mach-ixp2000/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp2000/pci.c b/arch/arm/mach-ixp2000/pci.c
index f797c5f538b0..8888ed9429f8 100644
--- a/arch/arm/mach-ixp2000/pci.c
+++ b/arch/arm/mach-ixp2000/pci.c
@@ -196,6 +196,8 @@ clear_master_aborts(void)
void __init
ixp2000_pci_preinit(void)
{
+ pci_set_flags(0);
+
#ifndef CONFIG_IXP2000_SUPPORT_BROKEN_PCI_IO
/*
* Configure the PCI unit to properly byteswap I/O transactions,