summaryrefslogtreecommitdiff
path: root/board/cds/common/via.c
diff options
context:
space:
mode:
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 ded214f..4a63d77 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);