summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-10-22 09:00:28 +0000
committerwdenk <wdenk>2003-10-22 09:00:28 +0000
commit4654af27b894277c9e3dac5359f6b3e74d1405ac (patch)
tree9dab871bcc0aec4e86f6ec336011023d5af4978f /drivers
parenta3ad8e26a4ac96838b2963cb462770c70c9f6443 (diff)
downloadu-boot-imx-4654af27b894277c9e3dac5359f6b3e74d1405ac.zip
u-boot-imx-4654af27b894277c9e3dac5359f6b3e74d1405ac.tar.gz
u-boot-imx-4654af27b894277c9e3dac5359f6b3e74d1405ac.tar.bz2
Fix PCI problems on PPChameleon board
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ns8382x.c2
-rw-r--r--drivers/pci.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ns8382x.c b/drivers/ns8382x.c
index 978080e..154d6ca 100644
--- a/drivers/ns8382x.c
+++ b/drivers/ns8382x.c
@@ -321,7 +321,7 @@ ns8382x_initialize(bd_t * bis)
if ((devno = pci_find_devices(supported, idx++)) < 0)
break;
- pci_read_config_dword(devno, PCI_BASE_ADDRESS_0, &iobase);
+ pci_read_config_dword(devno, PCI_BASE_ADDRESS_1, &iobase);
iobase &= ~0x3; /* 1: unused and 0:I/O Space Indicator */
#ifdef NS8382X_DEBUG
diff --git a/drivers/pci.c b/drivers/pci.c
index c91c992..e014f91 100644
--- a/drivers/pci.c
+++ b/drivers/pci.c
@@ -428,11 +428,9 @@ int pci_hose_scan_bus(struct pci_controller *hose, int bus)
dev < PCI_BDF(bus,PCI_MAX_PCI_DEVICES-1,PCI_MAX_PCI_FUNCTIONS-1);
dev += PCI_BDF(0,0,1))
{
-#if ((!defined(CONFIG_405GP)) && (!defined(CONFIG_405EP))) /* don't skip host bridge on ppc405gp and 405ep */
/* Skip our host bridge */
if ( dev == PCI_BDF(hose->first_busno,0,0) )
continue;
-#endif
if (PCI_FUNC(dev) && !found_multi)
continue;