diff options
author | Andy Fleming <afleming@freescale.com> | 2007-08-14 01:50:09 -0500 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2007-08-14 01:50:09 -0500 |
commit | e41094c7e38177c755fbd9b182018069614f080d (patch) | |
tree | 0a27d1591c0243985059b4a5634215ef4800f341 /board | |
parent | da9d4610d76e52c4d20a8f3d8433439a7fcf5b71 (diff) | |
download | u-boot-e41094c7e38177c755fbd9b182018069614f080d.tar.gz u-boot-e41094c7e38177c755fbd9b182018069614f080d.tar.bz2 u-boot-e41094c7e38177c755fbd9b182018069614f080d.zip |
85xxCDS: Enable the VIA PCI-to-ISA bridge.
Author: Randy Vinson <rvinson@linuxbox.(none)>
Enable the PCI-to-ISA bridge in the VIA Southbridge located on the
Arcadia main board.
Signed-off-by: Randy Vinson <rvinson@mvista.com>
Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/cds/common/via.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/board/cds/common/via.c b/board/cds/common/via.c index e79bd02a12..ded214f06f 100644 --- a/board/cds/common/via.c +++ b/board/cds/common/via.c @@ -28,11 +28,16 @@ void mpc85xx_config_via(struct pci_controller *hose, pci_dev_t dev, struct pci_config_table *tab) { pci_dev_t bridge; + unsigned int cmdstat; /* Enable USB and IDE functions */ pci_hose_write_config_byte(hose, dev, 0x48, 0x08); - pciauto_config_device(hose, dev); + pci_hose_read_config_dword(hose, dev, PCI_COMMAND, &cmdstat); + cmdstat |= PCI_COMMAND_IO | PCI_COMMAND_MEMORY| PCI_COMMAND_MASTER; + pci_hose_write_config_dword(hose, dev, PCI_COMMAND, cmdstat); + pci_hose_write_config_byte(hose, dev, PCI_CACHE_LINE_SIZE, 0x08); + pci_hose_write_config_byte(hose, dev, PCI_LATENCY_TIMER, 0x80); /* * Force the backplane P2P bridge to have a window |