Skip to content
Snippets Groups Projects
Commit fa5530b8 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

x86: Support pci bus scan in the early phase


On x86, some peripherals on pci buses need to be accessed in the
early phase (eg: pci uart) with a valid pci memory/io address,
thus scan the pci bus and do the corresponding resource allocation.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 4722c035
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ int pci_early_init_hose(struct pci_controller **hosep)
board_pci_setup_hose(hose);
pci_setup_type1(hose);
hose->last_busno = pci_hose_scan(hose);
gd->arch.hose = hose;
*hosep = hose;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment