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 <>
Acked-by: default avatarSimon Glass <>
parent 4722c035
......@@ -29,6 +29,7 @@ int pci_early_init_hose(struct pci_controller **hosep)
hose->last_busno = pci_hose_scan(hose);
gd->arch.hose = hose;
*hosep = hose;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment