mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
* Made sure the code which disables prefetch for PCI devices
sets the size of the prefetch region to 0 Patch by Andy Fleming on 17-Mar-2006 Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
40d5fa35d0
commit
20abbc6fff
@ -186,7 +186,7 @@ static void pciauto_prescan_setup_bridge(struct pci_controller *hose,
|
|||||||
} else {
|
} else {
|
||||||
/* We don't support prefetchable memory for now, so disable */
|
/* We don't support prefetchable memory for now, so disable */
|
||||||
pci_hose_write_config_word(hose, dev, PCI_PREF_MEMORY_BASE, 0x1000);
|
pci_hose_write_config_word(hose, dev, PCI_PREF_MEMORY_BASE, 0x1000);
|
||||||
pci_hose_write_config_word(hose, dev, PCI_PREF_MEMORY_LIMIT, 0x1000);
|
pci_hose_write_config_word(hose, dev, PCI_PREF_MEMORY_LIMIT, 0x0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pci_io) {
|
if (pci_io) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user