|
@@ -388,7 +388,7 @@ int dw_pcie_host_init(struct pcie_port *pp)
|
|
|
addrp = of_get_address(np, index, NULL, NULL);
|
|
addrp = of_get_address(np, index, NULL, NULL);
|
|
|
pp->cfg0_mod_base = of_read_number(addrp, ns);
|
|
pp->cfg0_mod_base = of_read_number(addrp, ns);
|
|
|
pp->cfg1_mod_base = pp->cfg0_mod_base + pp->cfg0_size;
|
|
pp->cfg1_mod_base = pp->cfg0_mod_base + pp->cfg0_size;
|
|
|
- } else {
|
|
|
|
|
|
|
+ } else if (!pp->va_cfg0_base) {
|
|
|
dev_err(pp->dev, "missing *config* reg space\n");
|
|
dev_err(pp->dev, "missing *config* reg space\n");
|
|
|
}
|
|
}
|
|
|
|
|
|