pci: Properly configure prefetchable memory region
PATCH 1/1 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 <[email protected]>
--- drivers/pci/pci_auto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/pci_auto.c +1 -1
@@ -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) {
Signature · 1 line
1.8.4
Quoted 5 lines · Thierry Reding
Forcibly set
hose->pci_prefetchto 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 <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131007/2216bb1f/attachment.pgp>