mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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 <treding@nvidia.com>
This commit is contained in:
parent
f833e790b4
commit
010c480bbf
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue