ARM: convert PCI defines to variables
authorRob Herring <rob.herring@calxeda.com>
Wed, 29 Jun 2011 02:16:13 +0000 (21:16 -0500)
committerRob Herring <rob.herring@calxeda.com>
Tue, 12 Jul 2011 16:19:29 +0000 (11:19 -0500)
commitc9d95fbe59e426eed7f16e7cac812e46ac4772d0
tree7e7c01255fb18932ee4f0c68b1501ab35db7c012
parentdc8d966bccde0b8b6c9e8c6e663c747030c17435
ARM: convert PCI defines to variables

Convert PCIBIOS_MIN_IO and PCIBIOS_MIN_MEM to variables to allow
multi-platform builds. This also removes the requirement for a platform to
have a mach/hardware.h.

The default values for i/o and mem are 0x1000 and 0x01000000, respectively.
Per Arnd Bergmann, other values are likely to be incorrect, but this commit
does not try to address that issue.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
35 files changed:
arch/arm/include/asm/pci.h
arch/arm/mach-cns3xxx/include/mach/hardware.h [deleted file]
arch/arm/mach-cns3xxx/pcie.c
arch/arm/mach-dove/include/mach/hardware.h
arch/arm/mach-footbridge/dc21285.c
arch/arm/mach-footbridge/include/mach/hardware.h
arch/arm/mach-integrator/include/mach/hardware.h
arch/arm/mach-integrator/pci_v3.c
arch/arm/mach-iop13xx/include/mach/hardware.h
arch/arm/mach-iop13xx/pci.c
arch/arm/mach-iop32x/include/mach/hardware.h
arch/arm/mach-iop33x/include/mach/hardware.h
arch/arm/mach-ixp2000/include/mach/hardware.h
arch/arm/mach-ixp2000/pci.c
arch/arm/mach-ixp23xx/include/mach/hardware.h
arch/arm/mach-ixp23xx/pci.c
arch/arm/mach-ixp4xx/common-pci.c
arch/arm/mach-ixp4xx/include/mach/hardware.h
arch/arm/mach-kirkwood/include/mach/hardware.h
arch/arm/mach-ks8695/include/mach/hardware.h
arch/arm/mach-ks8695/pci.c
arch/arm/mach-mv78xx0/include/mach/hardware.h
arch/arm/mach-orion5x/include/mach/hardware.h
arch/arm/mach-pxa/cm-x2xx-pci.c
arch/arm/mach-pxa/include/mach/hardware.h
arch/arm/mach-sa1100/include/mach/hardware.h
arch/arm/mach-sa1100/pci-nanoengine.c
arch/arm/mach-shark/include/mach/hardware.h
arch/arm/mach-shark/pci.c
arch/arm/mach-tegra/include/mach/hardware.h [deleted file]
arch/arm/mach-tegra/pcie.c
arch/arm/mach-versatile/include/mach/hardware.h
arch/arm/mach-versatile/pci.c
arch/arm/mm/iomap.c
arch/arm/plat-iop/pci.c