From: Thierry Reding Date: Fri, 20 Sep 2013 13:50:50 +0000 (+0200) Subject: pci: Properly configure prefetchable memory region X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=010c480bbf9c3c2b4237a73242b4b3f7c9198114;p=u-boot.git pci: Properly configure prefetchable memory region Forcibly set hose->pci_prefetch to NULL to make sure it will be setup. This will help if for any reason callers didn't make sure themselves to NULL the field. Signed-off-by: Thierry Reding --- diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c index c4ed8ba6c3..86ba6b523c 100644 --- a/drivers/pci/pci_auto.c +++ b/drivers/pci/pci_auto.c @@ -297,7 +297,7 @@ void pciauto_config_init(struct pci_controller *hose) { int i; - hose->pci_io = hose->pci_mem = NULL; + hose->pci_io = hose->pci_mem = hose->pci_prefetch = NULL; for (i = 0; i < hose->region_count; i++) { switch(hose->regions[i].flags) {