ARM: move PCI i/o resource setup into common code
authorRob Herring <rob.herring@calxeda.com>
Tue, 10 Jul 2012 02:59:03 +0000 (21:59 -0500)
committerRob Herring <rob.herring@calxeda.com>
Thu, 26 Jul 2012 14:09:17 +0000 (09:09 -0500)
commit3c5d1699887bfcd17e6d9842ba7e2b3234e665db
tree67704d14f9877622c305fee05ced1af7cee0654a
parentc2794437091a4fda72c4a4f3567dd728dcc0c3c9
ARM: move PCI i/o resource setup into common code

With consolidation of the PCI i/o mappings, the i/o space is being
set to start at a PCI bus addr of 0x0 and fixed to 64K per bus. In
this case the core ARM PCI setup code can setup the i/o resource.

Currently, the resource is only setup if the platform did not setup
an i/o resource.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/include/asm/mach/pci.h
arch/arm/kernel/bios32.c