提交 19e1b8d9 编写于 作者: M Masami Hiramatsu 提交者: Stefano Babic

pci: Update the highest subordinate bus number for bridge setup

Update the highest subordinate bus number after probing the devices
under the bus for setting up the bridge correctly.
The commit 42f3663a ("pci: Update to use new sequence numbers")
removed this but it is required if a PCIe bridge is under the bus.

Fixes: 42f3663a ("pci: Update to use new sequence numbers")
Signed-off-by: NMasami Hiramatsu <masami.hiramatsu@linaro.org>
上级 566c537c
......@@ -646,6 +646,9 @@ int dm_pci_hose_probe_bus(struct udevice *bus)
return log_msg_ret("probe", ret);
}
if (!ea_pos)
sub_bus = pci_get_bus_max();
dm_pciauto_postscan_setup_bridge(bus, sub_bus);
return sub_bus;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册