summaryrefslogtreecommitdiff
path: root/board/cds/common/via.c
diff options
context:
space:
mode:
authorRandy Vinson <rvinson@linuxbox.(none)>2007-02-27 19:42:22 -0700
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2007-08-14 01:51:39 -0500
commit7f3f2bd2dc08e0b05e185662ca2e2d283757104a (patch)
treeffa1b151a78d0f9c91787ac9973070fd5b2dcc5a /board/cds/common/via.c
parente41094c7e38177c755fbd9b182018069614f080d (diff)
85xxCDS: Add make targets for legacy systems.
The PCI ID select values on the Arcadia main board differ depending on the version of the hardware. The standard configuration supports Rev 3.1. The legacy target supports Rev 2.x. Signed-off-by Randy Vinson <rvinson@mvista.com>
Diffstat (limited to 'board/cds/common/via.c')
-rw-r--r--board/cds/common/via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cds/common/via.c b/board/cds/common/via.c
index ded214f06f7..4a63d779440 100644
--- a/board/cds/common/via.c
+++ b/board/cds/common/via.c
@@ -45,7 +45,7 @@ void mpc85xx_config_via(struct pci_controller *hose,
* This allows legacy I/O (i8259, etc) on the VIA
* southbridge to be accessed.
*/
- bridge = PCI_BDF(0,17,0);
+ bridge = PCI_BDF(0,BRIDGE_ID,0);
pci_hose_write_config_byte(hose, bridge, PCI_IO_BASE, 0);
pci_hose_write_config_word(hose, bridge, PCI_IO_BASE_UPPER16, 0);
pci_hose_write_config_byte(hose, bridge, PCI_IO_LIMIT, 0x10);