- pci_device.c fixes for generic pci bridges to zero the unused portion of bridge resources
- coherent_ht.c remove dead idle loop.
- raminit.c Enable a 64MB mmio window just below 4GB


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@967 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c
index c4b1cbe..25c39f8 100644
--- a/src/devices/pci_device.c
+++ b/src/devices/pci_device.c
@@ -303,6 +303,8 @@
 			IORESOURCE_IO, IORESOURCE_IO);
 		pci_write_config8(dev, PCI_IO_BASE,  base >> 8);
 		pci_write_config8(dev, PCI_IO_LIMIT, limit >> 8);
+		pci_write_config16(dev, PCI_IO_BASE_UPPER16, 0);
+		pci_write_config16(dev, PCI_IO_LIMIT_UPPER16, 0);
 	}
 	else if (resource->index == PCI_MEMORY_BASE) {
 		/* set the memory range
@@ -322,6 +324,8 @@
 			IORESOURCE_MEM | IORESOURCE_PREFETCH);
 		pci_write_config16(dev, PCI_PREF_MEMORY_BASE,  base >> 16);
 		pci_write_config16(dev, PCI_PREF_MEMORY_LIMIT, limit >> 16);
+		pci_write_config32(dev, PCI_PREF_BASE_UPPER32, 0);
+		pci_write_config32(dev, PCI_PREF_LIMIT_UPPER32, 0);
 	}
 	else {
 		printk_err("ERROR: invalid resource->index %x\n",